Part Number Hot Search : 
SPM4012 TDA7570 BD00GA5 EL7154C KBU608 100100 D1191 SPM4012
Product Description
Full Text Search
 

To Download USAB17ID703000-NW Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  users manual target devices v850 family? id850nw integrated debugger ver. 1.10 or later operation (windows? based) 1997 printed in japan document no. u14891ej1v0um00 (1st edition) date published november 2000 n cp(k) 2000
users manual u14891ej1v0um00 2 [memo]
users manual u14891ej1v0um00 3 v800 series, v850 family, v850/sa1, v850/sb1, v850/sb2, v850/sv1, v850e/ms1, v850e/ma1, v850e/ia1, v851, v852, v853, and v854 are trademarks of nec corporation. unix is a registered trademark in the united states and other countries, licensed exclusively through x/open company limited. pentium is a trademark of intel corporation. windows, windows nt, and ms-dos are either registered trademarks or trademarks of microsoft corporation in the united states and/or other countries. pc/at is a trademark of international business machines corporation.
users manual u14891ej1v0um00 4 m8e 00. 4 the information in this document is current as of august, 2000. the information is subject to change without notice. for actual design-in, refer to the latest publications of nec's data sheets or data books, etc., for the most up-to-date specifications of nec semiconductor products. not all products and/or types are available in every country. please check with an nec sales representative for availability and additional information. no part of this document may be copied or reproduced in any form or by any means without prior written consent of nec. nec assumes no responsibility for any errors that may appear in this document. nec does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of nec semiconductor products listed in this document or any other liability arising from the use of such products. no license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec or others. descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software and information in the design of customer's equipment shall be done under the full responsibility of customer. nec assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. while nec endeavours to enhance the quality, reliability and safety of nec semiconductor products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. to minimize risks of damage to property or injury (including death) to persons arising from defects in nec semiconductor products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment, and anti-failure features. nec semiconductor products are classified into the following three quality grades: "standard", "special" and "specific". the "specific" quality grade applies only to semiconductor products developed based on a customer-designated "quality assurance program" for a specific application. the recommended applications of a semiconductor product depend on its quality grade, as indicated below. customers must check the quality grade of each semiconductor product before using it in a particular application. "standard": computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots "special": transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support) "specific": aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. the quality grade of nec semiconductor products is "standard" unless otherwise expressly specified in nec's data sheets or data books, etc. if customers wish to use nec semiconductor products in applications not intended by nec, they must contact an nec sales representative in advance to determine nec's willingness to support a given application. (note) (1) "nec" as used in this statement means nec corporation and also includes its majority-owned subsidiaries. (2) "nec semiconductor products" means any semiconductor product developed or manufactured by or for nec (as defined above).
users manual u14891ej1v0um00 5 regional information some information contained in this document may vary from country to country. before using any nec product in your application, piease contact the nec office in your country to obtain a list of authorized representatives and distributors. they will verify: device availability ordering information product release schedule availability of related technical literature development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. nec electronics inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 fax: 408-588-6130 800-729-9288 nec electronics (germany) gmbh duesseldorf, germany tel: 0211-65 03 02 fax: 0211-65 03 490 nec electronics (uk) ltd. milton keynes, uk tel: 01908-691-133 fax: 01908-670-290 nec electronics italiana s.r.l. milano, italy tel: 02-66 75 41 fax: 02-66 75 42 99 nec electronics (germany) gmbh benelux office eindhoven, the netherlands tel: 040-2445845 fax: 040-2444580 nec electronics (france) s.a. velizy-villacoublay, france tel: 01-30-67 58 00 fax: 01-30-67 58 99 nec electronics (france) s.a. madrid office madrid, spain tel: 91-504-2787 fax: 91-504-2860 nec electronics (germany) gmbh scandinavia office taeby, sweden tel: 08-63 80 820 fax: 08-63 80 388 nec electronics hong kong ltd. hong kong tel: 2886-9318 fax: 2886-9022/9044 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-528-0303 fax: 02-528-4411 nec electronics singapore pte. ltd. united square, singapore tel: 65-253-8311 fax: 65-250-3583 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 fax: 02-2719-5951 nec do brasil s.a. electron devices division guarulhos-sp brasil tel: 55-11-6462-6810 fax: 55-11-6462-6829 j00.7
users manual u14891ej1v0um00 6 [memo]
users manual u14891ej1v0um00 7 introduction readers this manual is intended for user engineers who design and develop application systems of the v850 family. purpose this manual is intended for users to understand the functions of the id850nw in the organization below. organization this manual consists of the following chapters: general installation starting and exiting function of id850nw association with project manager window reference how to read this manual it is assumed that the readers of this manual have general knowledge of electrical engineering, logic circuits, microcontrollers, c language, and assemblers. to understand the functions of the v850 family ? refer to hardware users manual for each product. to understand the instruction functions of the v850 family ? refer to v850 family users manual architecture or v850e/xxx users manual architecture . conventions data significance: higher digits on the left and lower digits on the right note : footnote for item marked with note in the text caution : information requiring paticular attention key descriptions: the key descriptions in this manual are explained in terms of the pc-9821 series keyboard. when using a keyboard whose key descriptions differ from the above, use the keys in accordance with the descriptions in appendix d key function list .
users manual u14891ej1v0um00 8 related documents the documents related to this manual are listed below. the related documents indicated in this publication may include preliminary versions. however, preliminary versions are not marked as such. documents related to development tools (users manuals) document name document no. ie-703002-mc (in-circuit emulator for v851 tm , v852 tm , v853 tm , v854 tm , v850/sa1 tm , v850/sb1 tm , v850/sv1 tm ) u11595e ie-v850e-mc (in-circuit emulator for v850e/ia1 tm ) ie-v850e-mc-a (in-circuit emulator for v850e/ma1 tm ) u14487e ie-703003-mc-em1 (peripheral i/o board for v853) u11596e ie-703008-mc-em1 (peripheral i/o board for v854) u12420e ie-703017-mc-em1 (peripheral i/o board for v850/sa1) u12898e ie-703037-mc-em1 (peripheral i/o board for v850/sb1, v850/sb2 tm ) u14151e ie-703040-mc-em1 (peripheral i/o board for v850/sv1) u14337e ie-703102-mc (in-circuit emulator for v850e/ms1 tm ) u13875e ie-703102-mc-em1, ie-703102-mc-em1-a (peripheral i/o board for v850e/ms1) u13876e ie-703107-mc-em1 (pripheral i/o board for v850e/ma1) u14481e ie-703117-mc-em1 (peripheral i/o board for v850e/ia1) u14770e operation u14568e c language u14566e project manager u14569e ca850 (ver. 2.30 or later) (c compiler package) assembly language u14567e id850 (ver. 2.00 or later) (integrated debugger) operation windows tm based u14217e id850 (ver. 2.20 or later) (integrated debugger) operation windows based u14580e id850nw (ver. 1.10 or later) (integrated debugger) operation windows based this manual sm850 (ver. 2.00 or later) (system simulator) operation windows based u13759e sm850 (ver. 2.20 or later) (system simulator) operation windows based u14782e sm850 (ver. 2.00 or later) (system simulator) external part user open interface specifications u14873e basics u13430e installation u13410e rx850 (real-time os) technical u13431e fundamental u13773e installation u13774e rx850 pro (real-time os) technical u13772e rd850 (ver. 3.0) (task debugger) u13737e rd850 pro (ver. 3.0) (task debugger) u13916e az850 (system performance analyzer) u14410e
users manual u14891ej1v0um00 9 contents chapter 1 general.......................................................................................................... ................ 17 1.1 overview.................................................................................................................... ................. 17 1.2 features.................................................................................................................... .................. 17 1.3 system configuration ........................................................................................................ ....... 18 1.4 operating environment ....................................................................................................... ..... 19 1.4.1 hardware environments ..................................................................................................... ............ 19 1.4.2 software environments..................................................................................................... .............. 19 1.5 note for debugging at source level ....................................................................................... 20 chapter 2 installation ..................................................................................................... ............ 21 2.1 installing id850nw .......................................................................................................... .......... 21 2.2 uninstalling id850nw ........................................................................................................ ....... 27 chapter 3 starting and exiting........................................................................................... .... 31 3.1 starting .................................................................................................................... ................... 31 3.2 exiting..................................................................................................................... .................... 33 chapter 4 functions of id850nw........................................................................................... ... 35 4.1 mapping function ............................................................................................................ ......... 35 4.2 program execution function .................................................................................................. .36 4.2.1 real-time execution function .............................................................................................. ............ 36 4.2.2 non real-time execution function .......................................................................................... .......... 37 4.3 event function .............................................................................................................. ............ 38 4.3.1 using event function...................................................................................................... ................. 38 4.3.2 event conditions .......................................................................................................... ................... 39 4.4 break function .............................................................................................................. ............ 41 4.5 trace function.............................................................................................................. ............. 43 4.5.1 trace operations .......................................................................................................... .................. 43 4.5.2 trace condition setting function.......................................................................................... ............ 43 4.5.3 trace result display function............................................................................................. .............. 45 4.6 load/save functions ......................................................................................................... ....... 46 4.6.1 display files ............................................................................................................. ....................... 46 4.6.2 information files ......................................................................................................... ..................... 46 4.7 register manipulation functions ............................................................................................ 4 7 4.8 memory manipulation functions ............................................................................................. 47 4.9 real-time ram sampling function ........................................................................................ 47 chapter 5 association with project manager ............................................................... 49 5.1 debugger registration in pm project...................................................................................... 49 5.1.1 debugger selection ........................................................................................................ ................ 49 5.2 starting up id850nw from pm ................................................................................................. 50 5.2.1 reproducing debug environment ............................................................................................. ...... 50
users manual u14891ej1v0um00 10 5.3 correction of source file and auto load ............................................................................... 51 chapter 6 window reference................................................................................................ .... 53 6.1 window list................................................................................................................. ............... 53 6.2 explanation of windows ...................................................................................................... ..... 55 main window .................................................................................................................... ..........................56 configuration dialog box ....................................................................................................... .....................81 extended option dialog box ..................................................................................................... ..................86 debugger option dialog box ..................................................................................................... .................90 interrupt mask dialog box...................................................................................................... .....................98 font dialog box ................................................................................................................ ........................100 project file load dialog box................................................................................................... ..................103 project file save dialog box................................................................................................... ..................106 view file load dialog box ...................................................................................................... ..................109 view file save dialog box ...................................................................................................... ..................112 download dialog box............................................................................................................ ....................118 load module list dialog box .................................................................................................... ................122 upload dialog box .............................................................................................................. ......................124 browse dialog box.............................................................................................................. ......................127 source move dialog box ......................................................................................................... .................129 address move dialog box........................................................................................................ .................132 trace move dialog box.......................................................................................................... ...................134 symbol to address dialog box ................................................................................................... .............137 source window.................................................................................................................. .......................140 source search dialog box....................................................................................................... .................154 assemble window ................................................................................................................ ....................157 assemble search dialog box..................................................................................................... ...............166 memory window .................................................................................................................. .....................169 memory search dialog box ....................................................................................................... ...............174 memory fill dialog box ......................................................................................................... ....................177 memory copy dialog box ......................................................................................................... ................179 memory compare dialog box ...................................................................................................... .............181 memory compare result dialog box............................................................................................... .........183 dmm dialog box ................................................................................................................. ......................185 watch window ................................................................................................................... .......................188 quick watch dialog box ......................................................................................................... ..................193 add watch dialog box ........................................................................................................... ...................198 register window................................................................................................................ .......................201 register select dialog box ..................................................................................................... ..................204 ior window..................................................................................................................... .........................206 ior select dialog box .......................................................................................................... ....................209 add i/o port dialog box........................................................................................................ ....................213 local variable window .......................................................................................................... ...................216 stack window ................................................................................................................... ........................218 trace view window .............................................................................................................. ....................222 trace data select dialog box ................................................................................................... ................228 trace option dialog box........................................................................................................ ...................231 event manager.................................................................................................................. ........................235
users manual u14891ej1v0um00 11 software break manager ......................................................................................................... ................. 242 event dialog box ............................................................................................................... ....................... 245 event link dialog box.......................................................................................................... ..................... 256 break dialog box ............................................................................................................... ....................... 266 trace dialog box ............................................................................................................... ....................... 273 delay count setting dialog box ................................................................................................. .............. 281 reset debugger dialog box ...................................................................................................... ............... 283 about dialog box ............................................................................................................... ....................... 285 exit debugger dialog box....................................................................................................... .................. 286 error/warning dialog box ....................................................................................................... .................. 288 appendix a debugging with id850nw..................................................................................... 289 appendix b terminology ..................................................................................................... ........ 293 b.1 terminology ................................................................................................................. ............ 293 b.2 window type and configuration ........................................................................................... 302 b.2.1 windows................................................................................................................... .................... 302 b.2.2 dialog boxes .............................................................................................................. .................. 302 appendix c error message list............................................................................................ . 303 appendix d key function list ............................................................................................. ..... 327 d.1 special function key function list ...................................................................................... 327 d.2 function key function list .................................................................................................. .. 328 d.3 special function key function list ( shift + key) ......................................................... 329 d.4 function key function list ( shift + key) ....................................................................... 329 d.5 special function key function list ( ctrl + key) .......................................................... 330 d.6 function key function list ( ctrl + key)........................................................................ 330 d.7 control key function list ( ctrl + key) .......................................................................... 330 d.8 special function key function list ( ctrl + shift key) .......................................... 331 appendix e index ........................................................................................................... .................. 333
users manual u14891ej1v0um00 12 list of figures (1/2) figure no. title page 1-1 id850nw system configuration example ............................................................................................ 18 3-1 id850nw icon ............................................................................................................................... .... 31 3-2 configuration dialog box on starting .................................................................................................... 31 3-3 main window ............................................................................................................................... ...... 32 3-4 comctl32.dll 4.72 installer ................................................................................................................... 32 3-5 exit debugger dialog box ................................................................................................................... 33 5-1 select debugger type dialog box (pm) ............................................................................................... 49 6-1 main window ............................................................................................................................... ...... 56 6-2 toolbar ............................................................................................................................... .............. 57 6-3 example of tool hint .......................................................................................................................... 59 6-4 status bar ............................................................................................................................... .......... 60 6-5 file menu bar ............................................................................................................................... ..... 63 6-6 edit menu bar ............................................................................................................................... ..... 64 6-7 view menu bar ............................................................................................................................... ... 66 6-8 option menu bar ............................................................................................................................... . 71 6-9 run menu bar ............................................................................................................................... .... 73 6-10 event menu bar ............................................................................................................................... .. 76 6-11 browse menu bar .............................................................................................................................. 77 6-12 jump menu bar ............................................................................................................................... .. 78 6-13 window menu bar .............................................................................................................................. 79 6-14 help menu bar ............................................................................................................................... .... 80 6-15 configuration dialog box .................................................................................................................... 81 6-16 extended option dialog box ............................................................................................................... 86 6-17 debugger option dialog box ............................................................................................................... 90 6-18 interrupt mask dialog box ................................................................................................................... 98 6-19 font dialog box ............................................................................................................................... 100 6-20 project file load dialog box ............................................................................................................. 103 6-21 project file save dialog box ............................................................................................................. 107 6-22 view file load dialog box ................................................................................................................ 109 6-23 view file save dialog box ................................................................................................................ 112 6-24 download dialog box ....................................................................................................................... 119 6-25 load module list dialog box ............................................................................................................. 122 6-26 upload dialog box ........................................................................................................................... 124 6-27 browse dialog box ........................................................................................................................... 127 6-28 source move dialog box .................................................................................................................. 129 6-29 address move dialog box ................................................................................................................. 132 6-30 trace move dialog box .................................................................................................................... 134 6-31 symbol to address dialog box ......................................................................................................... 137 6-32 source window ............................................................................................................................... 140
users manual u14891ej1v0um00 13 list of figures (2/2) figure no. title page 6-33 source search dialog box ................................................................................................................ 154 6-34 assemble window ........................................................................................................................... 157 6-35 assemble search dialog box ............................................................................................................ 166 6-36 memory window .............................................................................................................................. 169 6-37 memory search dialog box .............................................................................................................. 174 6-38 memory fill dialog box .................................................................................................................... 177 6-39 memory copy dialog box ................................................................................................................. 179 6-40 memory compare dialog box ........................................................................................................... 181 6-41 memory compare result dialog box ................................................................................................. 183 6-42 dmm dialog box ............................................................................................................................. 185 6-43 watch window ............................................................................................................................... . 189 6-44 quick watch dialog box ................................................................................................................... 193 6-45 add watch dialog box ..................................................................................................................... 198 6-46 register window ............................................................................................................................. 201 6-47 register select dialog box ............................................................................................................... 204 6-48 ior window ............................................................................................................................... ..... 206 6-49 ior select dialog box ...................................................................................................................... 209 6-50 add i/o port dialog box ................................................................................................................... 213 6-51 local variable window ..................................................................................................................... 216 6-52 stack window ............................................................................................................................... .. 218 6-53 trace view window ......................................................................................................................... 222 6-54 trace data select dialog box ........................................................................................................... 228 6-55 trace option dialog box .................................................................................................................. 231 6-56 event manager ............................................................................................................................... . 236 6-57 software break manager .................................................................................................................. 242 6-58 event dialog box ............................................................................................................................. 246 6-59 event link dialog box ...................................................................................................................... 257 6-60 break dialog box ............................................................................................................................. 267 6-61 trace dialog box ............................................................................................................................. 274 6-62 delay count setting dialog box ........................................................................................................ 281 6-63 reset debugger dialog box .............................................................................................................. 283 6-64 about dialog box ............................................................................................................................. 285 6-65 exit debugger dialog box ................................................................................................................. 286 6-66 error/warning dialog box ................................................................................................................. 288 c-1 display format of error message ...................................................................................................... 303
users manual u14891ej1v0um00 14 list of tables (2/1) table no. title page 4-1 relationship between event conditions and setting dialog box ............................................................. 38 4-2 each condition that can be set in event setting dialog box ................................................................. 39 4-3 event condition type ......................................................................................................................... 40 4-4 types of trace mode ......................................................................................................................... 43 4-5 types of trace data to be fetched ...................................................................................................... 43 4-6 types of trace ............................................................................................................................... .... 44 4-7 types of tracer control mode ............................................................................................................. 44 4-8 trace data display contents ............................................................................................................... 45 4-9 display files handled by id850nw ..................................................................................................... 46 4-10 information files handled by id850nw ................................................................................................ 46 6-1 windows of id850nw debugger ......................................................................................................... 53 6-2 cpu status display contents .............................................................................................................. 61 6-3 ie status display contents ................................................................................................................. 61 6-4 display contents of break cause ........................................................................................................ 61 6-5 step modes ............................................................................................................................... ...... 61 6-6 trace memory size ............................................................................................................................ 87 6-7 saved contents of project file .......................................................................................................... 105 6-8 view file extention ........................................................................................................................... 110 6-9 file types and current window ......................................................................................................... 115 6-10 types of files that can be downloaded ............................................................................................ 120 6-11 types of files that can be uploaded ................................................................................................ 125 6-12 types of files that can be displayed in browse dialog box ................................................................ 128 6-13 format of frame no. specification ..................................................................................................... 135 6-14 format of symbol specification ......................................................................................................... 138 6-15 breakpoint setting/deleting function ................................................................................................. 143 6-16 breakpoint display color .................................................................................................................. 143 6-17 meaning of event display mark ......................................................................................................... 144 6-18 program codes ............................................................................................................................... 144 6-19 details of drag and drop function (line/address) ............................................................................... 146 6-20 current pc line and breakpoint setting line ...................................................................................... 148 6-21 details of drag and drop function (character string) .......................................................................... 152 6-22 details of jump function .................................................................................................................. 221 6-23 contents of fetch operation access display ...................................................................................... 225 6-24 contents of program fetch display .................................................................................................... 225 6-25 contents of data operation access display ........................................................................................ 225 6-26 window link function ...................................................................................................................... 227 6-27 trace triggers of execution trace data ............................................................................................. 234 6-28 event icon marks ............................................................................................................................. 237 6-29 character color of event icon ........................................................................................................... 238 6-30 key information in detailed event display mode ................................................................................. 240 6-31 number of valid event conditions ..................................................................................................... 247
users manual u14891ej1v0um00 15 list of tables (2/2) table no. title page 6-32 meanings of event icons (event condition) ........................................................................................ 248 6-33 list of status conditions in event dialog box ..................................................................................... 249 6-34 list of access size conditions in event dialog box ............................................................................. 250 6-35 list of data conditions in event dialog box ........................................................................................ 252 6-36 number of valid event link conditions .............................................................................................. 258 6-37 meanings of event icons (event link condition) ................................................................................. 259 6-38 number of events that can be set in link condition setting area ....................................................... 260 6-39 number of events that can be set in disable condition setting area .................................................. 261 6-40 number of valid break event conditions ............................................................................................ 268 6-41 meanings of event icons (break event condition) ............................................................................... 269 6-42 number of events that can be set in break condition setting area .................................................... 269 6-43 total number of events that can be set to each area in trace dialog box .......................................... 275 6-44 meanings of event icons (trace event condition) ............................................................................... 276 b-1 delimiter symbols ............................................................................................................................ 294 b-2 register set of v850 family ............................................................................................................. 296 c-1 error message type ........................................................................................................................ 303 c-2 error message list ........................................................................................................................... 304 d-1 special function key function list .................................................................................................... 327 d-2 function key function list ................................................................................................................ 328 d-3 special function key function list ( shift + key) .......................................................................... 329 d-4 function key function list ( shift + key) ...................................................................................... 329 d-5 special function key function list ( ctrl + key) ........................................................................... 330 d-6 function key function list ( ctrl + key) ....................................................................................... 330 d-7 control key function list ( ctrl + key) ......................................................................................... 330 d-8 special function key function list ( ctrl + shift key) ............................................................. 331
users manual u14891ej1v0um00 16 [memo]
users manual u14891ej1v0um00 17 chapter 1 general 1.1 overview the v850 family integrated debugger id850nw (hereafter referred to as id850nw) is a software tool to debug the user programs developed for necs v850 family 32-bit microcontroller for embedded control applications efficiently. the id850nw features an easy-to-understand gui (graphical user interface) on a host machine using windows as the operating system. moreover, the commands that are frequently used can be input using the mouse, providing an environment with excellent operability. 1.2 features the features of the id850nw are as follows. (1) gui function the id850nw runs in a windows environment and its debugging operations can be controlled with a mouse. buttons and menus are displayed in each window, and you can select other related information from the displayed information. (2) source debug c source and assembly language programs can be debugged at source level. (3) use of in-circuit emulator breakpoints can be set and user programs can be traced note by using the detailed event setting functions of an in- circuit emulator. note the trace function is valid only for cpu cores with the trcu incorporated. (4) monitor function (automatic display updating function while execution is stopped) when execution of the user program is stopped, the values displayed in the window are automatically updated. (5) saving/restoring debugging environment the debug environment can be saved in a file. the saved environment can be restored and can start debugging again. (6) function expansion by tip (tool interface protocol) by linking up with a task debugger (rd), system performance analyzer (az), etc., it is possible to vastly improve the debugging efficiency of applications that use a real-time os (rx).
chapter 1 general users manual u14891ej1v0um00 18 1.3 system configuration the id850nw offers a comfortable debugging environment for user programs and target boards developed for the v850 family by connecting the host machine and the in-circuit emulator with a dedicated parallel interface board. the in-circuit emulator (ie-70000-mc-nw-a) used by the id850nw provides a debugging function by connecting a target board on which a v850 family microcontroller with the dcu (debug control unit) incorporated is mounted. figure 1-1 shows an example of the system configuration of the id850nw. figure 1-1. id850nw system configuration example
chapter 1 general users manual u14891ej1v0um00 19 1.4 operating environment to use the id850nw, the following hardware and software environments are necessary. 1.4.1 hardware environments (1) host machine ? pc-9821 series ? pc98-nx series ? ibm pc/at tm or compatibles cpu: pentium tm 100 mhz or more (120 mhz or more is recommended) memory: ram: 32 mb or more (64 mb or more is recommended) (2) in-circuit emulator ? ie-70000-mc-nw-a (3) interface board ? ie-70000-98-if-c (pc-9821 series) ? ie-70000-pc-if-c (ibm pc/at or compatibles) ? ie-70000-pci-if (4) rom probe (option) ? ep-16000c ? ep-16384c 1.4.2 software environments (1) os windows 95, windows 98, windows nt tm 4.0 (service pack 3) (2) device file device file of target device to be used (3) device driver device driver for interface board (attached to this product)
chapter 1 general users manual u14891ej1v0um00 20 1.5 note for debugging at source level when debugging at source level, add an option (-g option) that creates debugging information after the source files have been compiled. if this is not done, debugging cannot be performed in the source level.
users manual u14891ej1v0um00 21 chapter 2 installation this chapter explains how to install/uninstall the id850nw. 2.1 installing id850nw in order to use the id850nw, it is necessary to install the id850nw, a device file, and a device driver. install the device file according to the installer of the device file (refer to ca830, ca850 c compiler package users manual project manager ). install the device driver according to the readme-j.txt in the floppy disk nec ie-pc driver installation disk. caution if reinstalling the id850nw, be sure to uninstall it first. if the id850nw is not uninstalled and reinstalled in a directory that is different to the one the id850nw was originally installed in, uninstallation of the originally installed id850nw may become impossible. the following floppy disks (fds) are necessary for installing the id850nw. system disks of id850nw (disk 1 to 5) copy the system disks to other floppy disks for backup. use the backed up disks for installation to prevent an accident. an example of installing the id850nw is shown below. the setting for this example is as follows: install directory: c:\nectools32 drive of floppy disk: drive a directory to which windows is installed: c:\windows <1> start up windows. <2> insert the system disk (disk 1) to a floppy disk drive (drive a in this example). <3> start up the explorer, select drive a, and double-click setup.exe.
chapter 2 installation users manual u14891ej1v0um00 22 <4> the setup program is activated following setup initialization. click . <5> when installing the id850nw, click after reading and accepting the terms of the software license agreement. clicking will abort installation.
chapter 2 installation users manual u14891ej1v0um00 23 <6> select the items to be installed and the destination drive or directory. clear the check mark from the components that are not to be installed. the default destination drive or directory is c:\nectools32. to change the drive or directory, click and make appropriate modifications. after setting each item, click . to abort installation, click . caution if a previously installed id850nw has not been uninstalled, a dialog box querying whether to uninstall it will be displayed.
chapter 2 installation users manual u14891ej1v0um00 24 <7> specify the name of the file in which the id850nw icon is to be registered. after specifying the group name, click . to abort installation, click . the default group name is nec tools32. <8> final confirmation of installation start confirm the settings made in <6> and <7>. if there are no changes to these settings, click . if changes are necessary, click . if there are any problems, click and abort installation.
chapter 2 installation users manual u14891ej1v0um00 25 <9> copying files copy the files into the directory set in <6>. the change-of-system-disk message (setup needs the next disk) dialog box will open, so after changing the disk, click . <10> completing installation after installation is completed, the setup complete dialog box will open, and click . if the data file for 16-bit version nec development tools necdev.ini exists in the windows directory, a message querying whether to move the device file data to the registry will be displayed. to move this data, click . if you do not desire this data to be moved, click . displays the installation status change-of-system-disk message
chapter 2 installation users manual u14891ej1v0um00 26 <11> when the system disks have all been copied, the id850nw icon will be registered in the nec tools group. installation of id850nw is now complete.
chapter 2 installation users manual u14891ej1v0um00 27 2.2 uninstalling id850nw this section explains how to uninstall the id850nw, using c:\windows as the directory in which windows is installed. <1> start up windows <2> activate add/remove programs from the control panel. <3> select nec id850nw v850 integrated debugger vx.xx from the list displayed in install/uninstall and click .
chapter 2 installation users manual u14891ej1v0um00 28 <4> the confirm file deletion dialog box will be displayed next, and click . <5> the following dialog box below will appear during deletion. click as to all files confirmed (even if is selected and files are not deleted here, the latest files with the same name overwrite the old files when the id850nw is reinstalled).
chapter 2 installation users manual u14891ej1v0um00 29 <6> the program will be deleted. when the message uninstall completed appears, click . uninstallation of id850nw is now complete.
users manual u14891ej1v0um00 30 [memo]
users manual u14891ej1v0um00 31 chapter 3 starting and exiting this chapter explains how to start and exit the id850nw. 3.1 starting the start method is as follows: <1> turn on power to the in-circuit emulator and target system. <2> start windows on the pc. <3> double-click the shortcut icon of the id850nw on the desktop to start up the id850nw (see figure 3-1 ). the configuration dialog box shown will be displayed (see figure 3-2 ). figure 3-1. id850nw icon figure 3-2. configuration dialog box on starting
chapter 3 starting and exiting users manual u14891ej1v0um00 32 <4> operating environment parameters for the id850nw are set in this dialog box (for details, refer to chapter 6 window reference ). after setting the parameters, click the button on the dialog box. <5> the main window will then be opened (see figure 3-3 ) and the operation of the id850nw is possible. debugging operations are all carried out from this window. figure 3-3. main window caution problems such as dialog boxes not displaying data correctly are sometimes experienced when the id850nw is started up, or if an application error occurs while in use. one cause of such problems may be that an old version of comctl32.dll, which comes with windows 95, is being used. if this is the case, it will be necessary to update comctl32.dll using the comctl32.dll 4.72 installer (40comupd.exe) included in this product. note that if windows 98, microsoft internet explorer 3.x or 4.x has been installed, this update is unnecessary. figure 3-4. comctl32.dll 4.72 installer tool bar menu bar window display area status bar
chapter 3 starting and exiting users manual u14891ej1v0um00 33 3.2 exiting the exit method is as follows: <1> in the main window, select [file] ? [ex it]. ? the following exit debugger dialog box will be displayed. figure 3-5. exit debugger dialog box <2> to save the current debugging environment in the project file, check the check box ? save project file. <3> click the button. if the check box is checked in <2>, the save as dialog box is opened, the current debugging environment is saved in the project file, all the windows are closed, and then the id850nw is exited. if the check box is not checked, all the windows are closed and then the id850nw is exited.
users manual u14891ej1v0um00 34 [memo]
users manual u14891ej1v0um00 35 chapter 4 functions of id850nw this chapter explains the basic functions and processing conventions of the id850nw. 4.1 mapping function the following three types of mapping functions are available. these mapping functions are set in the configuration dialog box (refer to chapter 6 window reference ). (1) internal rom specify the size of internal rom inside the target device (core) for the internal rom size. although the size of this area can be changed, the actual memory configuration depends on the target. (2) internal ram specify the size of internal ram inside the target device (core) for the internal ram size. although the size of this area can be changed, the actual memory configuration depends on the target. (3) user area mapping (target) the memory area specified for user area mapping becomes the area to access either memory in the target system or memory incorporated in the chip. the target device accesses either memory in the target system or memory incorporated in the chip. (4) rom emulation ram the memory area specified as the rom emulation ram is a rom emulation area in which a rom probe note is used. the target device accesses the memory inside the in-circuit emulator. in this area, high-speed downloading and setting pseudo software breaks for the rom area are possible. note the rom probe is optional. (5) i/o protect area (i/o protect) the i/o protect area can be set in the area specified as target. this area is displayed in the same manner as an unmapped area on the memory window (the symbol ?? is displayed). if this area is mapped with this attribute, it can no longer be read or written easily, protecting it from access from the memory window. to read or write a value of the area mapped with this attribute, register in the ior window or watch window (refer to chapter 6 window reference ).
chapter 4 functions of id850nw users manual u14891ej1v0um00 36 4.2 program execution function the program execution functions start the execution of the user program and the operation of the tracer note by the cpu. these functions are classified as follows by the execution mode of the user program. note the trace function is valid only for cpu cores with the trcu incorporated. 4.2.1 real-time execution function real-time execution can be performed by the following commands. ? go command ( button) ? start command (start function) (no button) ? go & go command (no button) ? come command (come function) (no button) ? restart command ( button) ? return out command ( button) (1) go command ( button) this command executes the user program starting from the address indicated by the current pc register. execution of the user program is stopped when a specified break event condition is satisfied. each analyzer gets ready to operate when the user program is executed, and is executed or stopped depending on whether each event condition (break event condition, trace event condition note , etc.) is satisfied or not. note the trace function is valid only for cpu cores with the trcu incorporated. (2) start command (start function) this command executes the user program starting from a specified address. execution of the user program is stopped when a specified break event condition is satisfied. (3) go & go command this command executes the user program starting from the address indicated by the current pc register. execution of the user program is stopped once if a specified break event condition is satisfied. the contents of each window are updated, and the user program is then executed again starting from the address where it stopped. these operations are repeated until the user issues a stop command. (4) come command (come function) this command executes the user program starting from the address indicated by the current pc register to the address selected in the line/address display area on the source window or assemble window (refer to chapter 6 window reference ), and then a break occurs. while the user program is being executed by this command, the break event currently set does not occur. (5) restart command ( button) this command resets the cpu and then executes the user program starting from address 0. this operation is the same as when the go command is executed following reset of the cpu prior to user program execution. (6) return out command ( button) this command executes until execution returns to the calling function. this command is for functions described in c language.
chapter 4 functions of id850nw users manual u14891ej1v0um00 37 4.2.2 non real-time execution function non real-time execution can be performed by using the following commands. ? step in command ( button) ? next over command ( button) ? slow-motion command (no button) (1) step in command ( button) this command executes instructions in the program one by one. if functions or subroutines are called, instructions inside them are executed one by one. (2) next over command ( button) this command executes instructions in the program one by one. if functions or subroutines are called, instructions inside them are removed from step execution. (3) slow-motion command this command continue to step executing, the contents of each window are updated each time this command is executed. these operations are repeated until the user issues a stop command.
chapter 4 functions of id850nw users manual u14891ej1v0um00 38 4.3 event function an event is a specific status of the target system during user program execution for example address 0x1000 fetched and data written to address 0x2000 showing the specific status of the target system during debugging. the id850nw uses these events as triggers of action of break and trace note functions. an event function sets, deletes, or references the specific status of the target system that triggers an action (debug action) as an event condition. note the trace function is valid only for cpu cores with the trcu incorporated. 4.3.1 using event function to use an action function that is triggered by an event in accordance with the users debugging aims, the event conditions shown in table 4-1 must be set. table 4-1. relationship between event conditions and setting dialog box event condition setting dialog box function break event condition break dialog box condition to execute user program or stop operation of tracer note trace event condition note trace dialog box start/end condition when execution process of user program is saved in trace memory note the trace function is valid only for cpu cores with the trcu incorporated. these event conditions are set by using an event condition or event link condition alone or in combination. to use the event function of the id850nw, therefore, the necessary event condition and event link condition are first created, and then the event conditions shown in table 4-1 are set by using these conditions.
chapter 4 functions of id850nw users manual u14891ej1v0um00 39 4.3.2 event conditions how to create each event condition is explained next. (1) creating event conditions an event condition is set in the event dialog box (refer to chapter 6 window reference ). an address condition, status condition, data condition, and access size condition are set in this dialog box. a name is given to the combination of these conditions for registration. the maximum number of event conditions that can be registered in the event dialog box is 256. the maximum number of event conditions that can be simultaneously used for each event condition is 8 note . table 4-2 lists the contents of each condition that can be set in the event dialog box. note the number of execution events differs depending on whether the teu is incorporated or not. table 4-2. each condition that can be set in event setting dialog box condition contents address condition uses a specified address or address range as an event. a mask value can be set for the specified address. status condition uses a status for an address condition as an event. the status is selected from the following note 1 . ? execution: execution of instruction note 2 ? before execution: before execution of instrucion notes 2, 3 ? r/w: reading/writing of memory ? read: reading of memory ? write: writing of memory ? access: all access statuses data condition uses the data detected by a status condition as an event. a mask value can be set for the data. access size condition select the memory access size condition of an access event from the following: ? byte: 1-byte access condition ? half word: 2-byte access condition ? word: 4-byte access condition ? no condition: access size condition is ignored. ? bit: bit access condition notes 1. the status conditions that can be set differ depending on the connected in-circuit emulator. 2. if execution or before execution is selected as the status condition, the data, data mask, and access size conditions are invalid. 3. up to 2 events can be enabled in before execution status, which can be used only for the break event condition. in addition, address range cannot be specified without teu.
chapter 4 functions of id850nw users manual u14891ej1v0um00 40 (2) event condition type event conditions are classified into the three event types shown in the table below. these event types are automatically determined by selecting the desired status condition when creating an event condition. table 4-3 lists event condition types. table 4-3. event condition type event type status function execution event condition is satisfied when user program begins execution of instruction at specified address. execution event before execution event condition is satisfied just before user program begins execution of instruction at specified address. read write r/w event condition is satisfied when user program accesses specified memory. access event access all access statuses of other than above. (3) creating event link condition an event link condition is a condition under which a sequential rule is applied to the respective events to treat the events as a single event. an event link condition is created in the event link dialog box (refer to chapter 6 window reference ). by arranging the event conditions registered on the event dialog box in advance in an arbitrary order on the event link dialog box, a name is given to the arrangement of the event conditions as an event link condition for registration. the registered event link condition can be used to set various event conditions in the same manner as event conditions. the maximum number of event link conditions that can be set in the event link dialog box is 256. however, the number of event link conditions that can be simultaneously used for each event condition is 3 note . note this is valid only for cpu cores with teu incorporated. (4) displaying setting status of event condition all the registered event conditions and event link conditions are managed or displayed in the event manager (refer to chapter 6 window reference ). the setting status of all the event conditions created by using the event conditions or event link condition are also managed or displayed in the event manager. in the event manager (refer to chapter 6 window reference ), a mark indicating the type of each event condition, and an icon indicating an event name specified for registration are displayed. (5) setting each event condition the event conditions shown in table 4-1 are created in each setting dialog box. each event condition is created by dragging and dropping the event condition registered in the event manager, or the icon of an event link condition, on to the condition item in each setting dialog box. a created event condition is set by clicking the function button set or ok in the setting dialog box, or by clicking the mark of the event icon in the event manager and display it in red. by setting a created event condition, a debug action occurs as an event condition. for all the event conditions it is possible to register up to 256 conditions, but the number of conditions that can be set differs depending on each event condition.
chapter 4 functions of id850nw users manual u14891ej1v0um00 41 4.4 break function the break functions stop the execution of the user program and the operation of the tracer note by the cpu. note the trace function is valid only for cpu cores with the trcu incorporated. the following five types of break functions are available. ? event detection break ? break by come function ? software break ? break on satisfaction of condition during step execution ? forced break when the come, step in, return out, or next over command of the program execution functions is executed, event detection break and detection of software break are not performed. each break function is explained below. (1) event detection break an event detection break is a function to stop the execution of the user program by detecting a set break event condition. this function is used to stop a user program executed by the go, go & go, and restart commands. when the go & go command has been executed, the contents of each window are updated and the user program is then executed again after an event detection break has been implemented. set break events as follows: ? set a break event in the source window or assemble window as an execution event. ? set a break event in the break dialog box (refer to chapter 6 window reference ). (2) break by come function the break by come function is a function to stop a user program executed by the come command by detecting an address specified on source window or assemble window. after user program execution has been stopped, the breakpoint by come function is eliminated. while the user program is being executed using this function, the currently set break event does not occur. (3) software break a software break is a function that replaces the specified address instruction with a debugger-dedicated software break instruction, and is used to stop a user program executed by the go, go & go, or restart command. consequently, although there is no limit to the number of breaks that can be set (only 100 are valid, however), because the software break instruction replaces the specified address instruction, it is not possible to set breaks in the external rom, or to stop the program using the variable access timing. while event detection breaks use one hardware resource for one event condition, a software break can set a breakpoint to two or more addresses. a software break can be set in the source or assemble window. software breaks are controlled by the software break manager (refer to chapter 6 window reference ). (4) break on satisfaction of condition during step execution this is a function to stop the execution of the user program when the end condition of each command (step in, next over, return out, or slowmotion) is satisfied. because one instruction at a time is executed, stopped, and condition checked, the processing time of this function is slower than that of real-time execution.
chapter 4 functions of id850nw users manual u14891ej1v0um00 42 (5) forced break a forced break is a function to forcibly stop the execution of the user program. this function is valid for all the program execution commands. a forced break is implemented by the following command. ? stop command forcibly stops the execution of the user program.
chapter 4 functions of id850nw users manual u14891ej1v0um00 43 4.5 trace function the trace function note is to trace the branch instruction of the user program and to save the execution flow in the trace memory. the trace data saved in the trace memory can be displayed on the trace view window (refer to chapter 6 window reference ). note the trace function is valid only for cpu cores with the trcu incorporated. 4.5.1 trace operations the tracer operation of the id850nw is set in the trace option dialog box. in this dialog box it is possible to set the mode for when fetching trace data, select the trace data type, specify the address at which to perform an access data trace, and set the execution trace source. any size can be specified for the trace memory in the extended option dialog box. in addition, if a trace exceeding the number of the trace memory frames is performed, the operation of the tracer can be selected from the following: overwrite the previous frame, stop the tracer at that timing, or stop the tracer when a delay trigger event occurs. the trace function is valid as the default. to invalidate the trace function, remove the checkmark from [tracer on] on the [option] menu. 4.5.2 trace condition setting function the condition under which trace is to be executed can be set by the following procedures. (1) trace fetch mode setting the following two modes are available to fetch trace data. these settings are made in the trace option dialog box. table 4-4. types of trace mode trace mode trace description real-time trace mode (realtime mode) traces the cpu execution in real time. however, not all the trace data may be fetched, depending on the program or trace source (default). all trace mode (non realtime mode) if trace data is likely to be lost, the cpu execution is internally stopped temporarily and all the trace data is properly fetched. (2) trace data setting either of the following can be selected as the trace data to be fetched. these settings are made in the trace option dialog box. table 4-5. types of trace data to be fetched trace data description execution data traces the specified branch source to ascertain the program execution flow. access data traces the data access to the specified address and data access cycle in the specified address range.
chapter 4 functions of id850nw users manual u14891ej1v0um00 44 (3) trace mode setting the following two trace modes can be set. these settings are made by selecting [run] menu ? [uncond . trace on]/[con d. trace on] from the main window (refer to chapter 6 window reference ). table 4-6. types of trace trace mode trace contents unconditional trace unconditionally traces all execution processes of user program (default). conditional trace traces only specified zone (selected when using section trace). (4) tracer control mode setting the following two tracer control modes are available. these settings are made by selecting [run] menu ? [tracer control mode] from the main window (refer to chapter 6 window reference ). table 4-7. types of tracer control mode tracer control mode trace description non stop the data in the oldest frame is overwritten after the total trace memory has been traced (default). full stop the tracer is stopped after the total trace memory has been traced. delay trigger stop the tracer is stopped after tracing for the delay count when a delay trigger event occurs. (5) trace event condition setting a trace event condition is a condition under which trace execution is started/ended if the conditional trace is selected as the trace mode. section trace and delay trace can be selected for the id850nw. the trace event condition can be set on the trace dialog box (refer to chapter 6 window reference ). up to 256 trace conditions can be registered, of which only one can be set. (a) section trace in this mode, trace is started when a specified trace start condition is satisfied, and ends when a specified trace end condition is satisfied. (b) delay trace a trace can be performed for the specified delay count after the delay trigger event is made by setting the delay count in the delay count setting dialog box and setting the delay trigger event.
chapter 4 functions of id850nw users manual u14891ej1v0um00 45 4.5.3 trace result display function the result of a trace can be checked in the trace view window (refer to chapter 6 window reference ). the trace view window displays each frame of the trace contents of the following items shown in table 4-8. table 4-8. trace data display contents displayed item contents frame frame number of trace memory indicating time sequence time execution time of each frame address fetch address data fetch data status fetch status address access address data access data status access status disasm disassemble result displayed item and contents can be selected by opening the trace data select dialog box in [view] ? [select] in the main window.
chapter 4 functions of id850nw users manual u14891ej1v0um00 46 4.6 load/save functions the load/save functions are to load and save each file. the id850nw individually loads/saves each file. the following two types of files are loaded/saved. ? display files: files recording the screen information when they are saved. by loading these files, the reference file is opened in the source window. ? information files: files recording various set data and debugging environments as the internal information of the id850nw. 4.6.1 display files table 4-9 lists the display files handled by the id850nw. table 4-9. display files handled by id850nw file name (extension) outline operation window source text display file (.svw) shows source text in source window variable display file (.wch) shows variable information in watch window assemble display file (.dis) shows assemble information in assemble window memory display file (.mem) shows memory information in memory window register display file (.rgw) shows register information in register window stack trace display file (.stk) shows stack trace information in stack window i/o register display file (.ior) shows i/o register information in ior window local variable display file (.loc) shows local variable information in local variable window trace display file note (.tvw) shows trace information in trace view window event set file (.evn) stores event set information of event manager view file load dialog box view file save dialog box note the trace function is valid only for cpu cores with the trcu incorporated. 4.6.2 information files table 4-10 lists the information files handled by the id850nw. table 4-10. information files handled by id850nw file name (extension) outline operation window object file (.hex) stores object code of user program download dialog box upload dialog box load module file (.out) stores object code of user program, symbol, and source information download dialog box project file (.prj) stores debugging environment project file load dialog box project file save dialog box binary file (.bin) stores data of binary format download dialog box upload dialog box the project file sets window/dialog box display information, size, and display area when it is loaded to restore the previous debugging environment (the status when the project file was saved).
chapter 4 functions of id850nw users manual u14891ej1v0um00 47 4.7 register manipulation functions the register manipulation functions are for displaying or changing the contents of the program registers, system registers, and peripheral i/o registers. these functions can be used in the register window or ior window (refer to chapter 6 window reference ). 4.8 memory manipulation functions the memory manipulation functions are for displaying or changing the contents of the memory by using mnemonic, hexadecimal, and ascii codes. these functions can be used in the memory window or assemble window (refer to chapter 6 window reference ). 4.9 real-time ram sampling function real-time ram sampling is a function used to read memory and update the displayed contents in real time, even during user program execution. all or specified 1 kb of internal ram area can be subject to real-time ram sampling. the sampled areas are displayed in the memory or watch window in real time. this function is realized by software emulation, so user program execution is temporarily stopped. the details for real-time ram sampling can be set on the extended option dialog box (refer to chapter 6 window reference ).
users manual u14891ej1v0um00 48 [memo]
users manual u14891ej1v0um00 49 chapter 5 association with project manager this chapter explains the procedure and notes on using the functions associated with the project manager. the id850nw can automatically perform a sequence of tasks such as creating a program, compiling, debugging, and correcting the program, in association with the project manager (pm). to debug a load module file created in the pm at the source level, confirm that the item [option] ? [debug] of the pm is checked for building. caution when a load module file is created by using an ms-dos tm prompt, the functions of the id850nw associated with the pm cannot be used. 5.1 debugger registration in pm project every debugger for id850nw can be specified for each project in the pm. the selection procedure is explained below. 5.1.1 debugger selection the procedure for selecting the debugger is as follows. <1> select [project] ? [n ew] in the pm and create the new project for pm. alternatively, read an existing pm project by selecting [project] ? [o pen]. ? for details of the setting items, refer to the on-line help or users manual. <2> select [option] ? [select d ebugger] from the pm menu bar. ? this opens the select debugger type dialog box. figure 5-1 shows the select debugger type dialog box. figure 5-1. select debugger type dialog box (pm)
chapter 5 association with project manager users manual u14891ej1v0um00 50 <3> either click id850nw v850 integrated debugger by mouse from the debugger list, or specify the execution file name id850n32.exe (with path) for the debugger file name. <4> click ok . ? id850nw will now be registered as the project debugger of the open pm. the id850nw icon will also be displayed on the pm toolbar. 5.2 starting up id850nw from pm one of the following three methods can be used to start up the id850nw from the pm. (1) click the id850nw startup button on the pm toolbar. (2) select [build] ? [d ebug] from the pm menu bar. (3) select [build] ? [build a nd debug] from the pm menu bar. alternatively, click the batch-processing button on the pm toolbar (however, the id850nw will start up only when build has finished normally). 5.2.1 reproducing debug environment by following the procedure shown below, it is possible to reproduce the debug environment of the previous time the id850nw was started up from the pm. <1> create a new project file note with the pm (eg: aaa.prj) note use the project file to save and reference the environment data for the debugger (id850nw) and the pm. the project file extension when dealing with the debugger and pm is prj. refer to the online help or users manual of each product regarding the data that is saved and reproduced using a project file. <2> start up the id850nw from the pm. because the project file is new, set items other than the device classification in the configuration dialog box, in the same way as when starting up the id850nw individually. <3> debug the target device with the id850nw. <4> when the id850nw has finished debugging, check [save project file] in the exit debugger dialog box and exit the id850nw. ? the debug environment at the completion of id850nw debugging is saved to the aaa.prj file (the debug environment can also be saved to the aaa.prj file at times other than the completion of id850nw debugging). <5> when the id850nw is next started up after the aaa.prj file is read by the pm, the debug environment saved in <4> above is automatically reproduced. ? the project file currently being used by the pm (aaa.prj) is automatically read when the id850nw is started up.
chapter 5 association with project manager users manual u14891ej1v0um00 51 5.3 correction of source file and auto load if a bug is found as a result of debugging using the id850nw, compiling and re-downloading can be automatically executed as well as editing the source file with the id850nw started with the following procedure. caution if [option] ? ? ? ? [p roject manager options...] is selected in the pm, and if an editor other than the standard editor is selected, this processing cannot be performed. <1> read the source file to correct with the id850nw to the source window. with the source window displayed at the foremost position, select [file] ? [o pen] on the main window to specify the corresponding file (if the corresponding file has already been displayed in the source window, activate the window). ? the corresponding file is displayed in the source window. <2> select [edit] ? [e dit source] in the id850nw main window. ? the corresponding file is automatically read to the standard editor and is opened. <3> correct the source file in the editor. <4> select [file] ? [s ave as] in the editor and save the file. <5> select [file] ? [e xit] in the editor to terminate the editor or select [b uild]. ? as a result, the pm automatically executes compiling, assembling, and linking in accordance with the settings of the project. when these operations have been completed normally, the created load module file is automatically downloaded to the id850nw. cautions 1. when the load module file is automatically downloaded, cpu reset is not executed. 2. the debug window, which was opened when the editor was called, and all event settings are restored. however, if the previously used lines and symbols have been deleted because of source file correction, observe the following points. the software breakpoint may be deleted. the variables that were displayed as variable display will be displayed in gray. in event conditions, the event mark will be displayed in yellow.
users manual u14891ej1v0um00 52 [memo]
users manual u14891ej1v0um00 53 chapter 6 window reference this chapter explains in detail the functions of the windows and dialog boxes of the id850nw. for the configuration and details of the types of the windows and dialog boxes, refer to appendix b terminology . 6.1 window list table 6-1 lists the windows of the id850nw debugger. table 6-1. windows of id850nw debugger (1/2) window name outline page main window this window is displayed first when the debugger is started. it controls execution of the user program. in addition, various windows are opened from this window. p.56 configuration dialog box sets/displays debugger environment p.81 extended option dialog box sets/displays each extended option p.86 debugger option dialog box sets/displays each option p.90 interrupt mask dialog box sets mask for external maskable interrupts p.98 font dialog box sets the type and size of the display font in the source window p.100 project file load dialog box reads debugging environment p.103 project file save dialog box saves debugging environment p.106 view file load dialog box reads the display files of each window and the source text and event setting files p.109 view file save dialog box saves the display files of the current window and the event setting files p.112 download dialog box downloads the object files and binary files p.118 load module list dialog box displays the downloaded load module file names and file path names in a list p.122 upload dialog box saves the memory contents to a file p.124 browse dialog box selects the files to be set in the debugger option and source search dialog boxes p.127 source move dialog box specifies the files to be displayed in the source window and the display start position p.129 address move dialog box specifies the display start address for the memory and assemble windows p.132 trace move dialog box note specifies the display start position for the trace view window p.134 symbol to address dialog box displays the addresses and symbol values of variables and functions p.137 source window displays source file or text file p.140 source search dialog box searches a character string in a source file p.154 assemble window displays disassemble text and executes on-line assemble p.157 assemble search dialog box searches the contents of the assemble window p.166 memory window displays/changes memory contents p.169 memory search dialog box searches the contents of the memory window p.174 memory fill dialog box initializes the memory contents by specified data p.177 memory copy dialog box copies memory contents p.179
chapter 6 window reference users manual u14891ej1v0um00 54 table 6-1. windows of id850nw debugger (2/2) window name outline page memory compare dialog box compares memory contents p.181 memory compare result dialog box displays result of comparison of memory contents p.183 dmm dialog box sets address and data to perform dmm (dynamic memory modification) p.185 watch window displays/changes variables p.188 quick watch dialog box displays/changes variable values temporarily p.193 add watch dialog box registers variables to be displayed in the watch window p.198 register window displays/changes register (program register, system register) contents p.201 register select dialog box selects register displayed on the register window p.204 ior window displays/changes contents of peripheral i/o register p.206 ior select dialog box selects peripheral i/o registers and i/o ports to be displayed in the ior window p.209 add i/o port dialog box registers i/o ports to be displayed in the ior window p.213 local variable window displays/changes local variable in current function p.216 stack window displays/changes the stack contents of the current user program p.218 trace view window note displays trace result p.222 trace data select dialog box note selects items to be displayed in the trace view window p.228 trace option dialog box note sets various settings for trace p.231 event manager displays, switches enable/disable, or deletes each event p.235 software break manager displays, switches enable/disable, or deletes the software break p.242 event dialog box registers/displays event condition p.245 event link dialog box registers/displays event link condition p.256 break dialog box registers/sets/displays break event condition p.266 trace dialog box note registers/sets/displays trace event condition p.273 delay count setting dialog box note sets the delay count of the trace p.281 reset debugger dialog box initializes id850nw and target cpu and symbol information p.283 about dialog box displays version of id850nw p.285 exit debugger dialog box ends id850nw p.286 error/warning dialog box displays error/warning message p.288 note the windows/dialog boxes related to trace are valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 55 6.2 explanation of windows this section explains each window using the format shown below. window name window type the window name and window type (mode type when dialog box) are indicated in the above frame. general briefly explains the window. opening method how to open the windows is explained below. window shows the screen image of the configuration of the window. function explains each function of the window. function buttons explains the operations of the function buttons in the window. menu bar enumerates the menus pulled down from the menu bar, and explains the function of each menu. caution explains points of caution to be noted.
chapter 6 window reference users manual u14891ej1v0um00 56 main window main window general this window is automatically opened after the id850nw is started and initialization is complete. it remains displayed until the id850nw is terminated. various windows are opened and manipulated from this window. execution of the user program is also controlled in this window. window figure 6-1. main window function the main window consists of the following areas. toolbar window display area status display area (1) tool bar (2) window display area (3) status display area
chapter 6 window reference users manual u14891ej1v0um00 57 each function is explained below. (1) toolbar the toolbar consists of buttons that can execute frequently used commands with a single click. each button is graphically displayed and easy to understand. this button group can be switched between graphics-only buttons and graphics + text buttons by the debugger option dialog box. the function of each button can be also executed using the menu bar in this window. this toolbar is not shown when it is specified not to be displayed by selecting [option] ? [tool bar] from the menu bar of this window. figure 6-2. toolbar graphics-only toolbar graphics + text toolbar an explanation of each button is given below. this button stops execution of the user program. the same function as [run] ? [s top] on the menu bar. this button runs the user program after the cpu is reset. the same function as [run] ? [r estart] on the menu bar. this button runs the user program from the current pc. the same function as [run] ? [g o] on the menu bar. this button executes the program real-time until execution returns to the calling function. the same function as [run] ? [re turn out] on the menu bar. this command is for functions described in c language. this button is used for step execution (execution of program instructions one by one). if functions or subroutines are called, instructions inside them are executed one by one. the same function as [run] ? [st ep in] on the menu bar. this button executes the next step (executes the program, regarding the function/call statement as one step.). if functions or subroutines are called, instructions inside them are removed from step execution. the same function as [run] ? [nex t over] on the menu bar. this button resets the cpu. the same function as [run] ? [cpu reset] on the menu bar.
chapter 6 window reference users manual u14891ej1v0um00 58 this button opens the view file load dialog box. the same function as [file] ? [o pen] on the menu bar. this button opens the download dialog box. the same function as [file] ? [d ownload] on the menu bar. this button opens the project file load dialog box. the same function as [file] ? [proj ect] ? [o pen] on the menu bar. this button opens the source window and displays the contents of the source text. the same function as [browse] ? [s ource text] on the menu bar. this button opens the assemble window and the user program is disassembled and displayed. the same function as [browse] ? [a ssemble] on the menu bar. this button opens the memory window and displays the memory contents. the same function as [browse] ? [m emory] on the menu bar. this button opens the watch window and displays the watch contents. the same function as [browse] ? [w atch] on the menu bar. this button opens the register window and displays the contents of the registers. the same function as [browse] ? [r egister] on the menu bar. this button opens the ior window and displays the contents of the peripheral i/o register. the same function as [browse] ? [i/o reg ister] on the menu bar. this button opens the local variable window and displays the local variable contents. the same function as [browse] ? [l ocal variable] on the menu bar. this button opens the stack window and displays the contents of the stack. the same function as [browse] ? [stack trace] on the menu bar. this button opens the trace view window and displays the result of trace note . the same function as [browse] ? [t race] on the menu bar. this button opens the event manager. the same function as [event] ? [event m anager] on the menu bar. this button opens the event dialog box and registers or sets events. the same function as [event] ? [e vent...] on the menu bar.
chapter 6 window reference users manual u14891ej1v0um00 59 this button opens the break dialog box and registers, sets, or displays break events. the same function as [event] ? [b reak] on the menu bar. this button opens the trace dialog box and registers, sets, or displays trace events note . the same function as [event] ? [t race] on the menu bar. note this button is valid only for cpu cores with the trcu incorporated. (a) tool hint function if the mouse cursor is pointed at any of the buttons on the toolbar, a tool hint pops up after a few seconds. figure 6-3. example of tool hint (b) moving the toolbar by dragging toolbar with the mouse, it can be moved to any desired position within or outside the main window. (2) window display area this area displays various debug windows. the displayed window can be changed in size or registered as an icon in this area. the list of the windows displayed in this area is as follows. source window assemble window watch window memory window register window ior window local variable window stack window trace view window note event manager software break manager note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 60 (3) status display area figure 6-4. status bar @ g f e d c b a this area displays the status of the debugger and in-circuit emulator. <1> program name $ source name # line no. program name: displays the program file name shown by the pc value. source name: displays the source file name shown by the pc value. line no.: displays the line number shown by the pc value. <2> function name: displays the function name shown by the pc value. <3> pc value: displays the current pc value. <4> cpu status: displays the status of the cpu (target device). displays the character | as a delimiter if there are multiple states. <5> ie status: displays the status of the in-circuit emulator (run, break mode). displays the character | as a delimiter if there are multiple states. <6> break cause: displays cause of break. <7> step mode: this is the area that displays the step execution mode. <8> key input mode: this area displays the key input mode. <1> <2> <3> <4> <5> <6> <7> <8>
chapter 6 window reference users manual u14891ej1v0um00 61 the types of cpu statuses are shown below. table 6-2. cpu status display contents status indication meaning hwstop in hardware stop mode reset reset status pow off power is not supplied to the target the types of ie statuses are shown below. table 6-3. ie status display contents status indication meaning run currently running a user program. step currently executing a step. trc currently operating a trace note . break break note the trace function is valid only for cpu cores with the trcu incorporated. the causes of a break are as follows. table 6-4. display contents of break cause displayed cause meaning manual break forcibly break temporary break temporary break (displayed when [come here] and [return] are executed) event break break by event software break break by software break event the types of step modes are shown below. table 6-5. step modes step mode meaning src step execution is in the source mode. this is displayed when [option] ? [s ource mode] in the menu bar is selected. inst step execution is in the instruction mode. this is displayed when [option] ? [i nstruction mode] in the menu bar is selected. auto step execution is in the automatic mode. this is displayed when [option] ? [au to mode] in the menu bar is selected.
chapter 6 window reference users manual u14891ej1v0um00 62 the types of key input modes are shown below. key input mode meaning ins displayed when key input is in the insert mode. ovr displayed when key input is in the overwrite mode.
chapter 6 window reference users manual u14891ej1v0um00 63 menu bar (1) file figure 6-5. file menu bar [open] this loads the display file or a source file or text file. opens the view file load dialog box. operation differs depending on the file extension selected in the dialog box. when a source file that symbol information is read: files are displayed in the source window. when an event setting file (.evn): the event manager is opened and the event is set. when a source file that symbol information is not read, or display file: files are displayed in the source window as text format file. [save as] saves the displayed contents of the current window in a display file under another name. opens the view file save dialog box. [close] closes the current window. [download] downloads the user program. opens the download dialog box. [load module] displays a list of the names of files that have been downloaded. opens the load module list dialog box. [upload] uploads the user program. opens the upload dialog box.
chapter 6 window reference users manual u14891ej1v0um00 64 [project >] operates a project file. [open] opens the project file. opens the project file load dialog box. [save] overwrites the current status to the project file. the file to be overwritten is a project file that is currently read in the debugger. [save as] saves the current status in the project file. opens the project file save dialog box. [debugger reset] resets the target cpu, symbols and debugger. opens the reset debugger dialog box. [exit] terminates the debugger. opens the exit debugger dialog box. [open file] displays a list of the names of files that can be downloaded. if a file name is selected, that file is downloaded. (2) edit figure 6-6. edit menu bar [cut] cuts the selected character string and places it in the clipboard buffer. [copy] copies the selected character string to the clipboard buffer. [paste] pastes the contents of the clipboard buffer at the text cursor position. [write in] writes corrections to the target. [restore] cancels the correction. [memory >] manipulates the memory contents. [fill...] initializes the memory contents. opens the memory fill dialog box.
chapter 6 window reference users manual u14891ej1v0um00 65 [copy...] copies values from memory to memory. opens the memory copy dialog box. [compare...] compares values between memories. opens the memory compare dialog box. [dmm...] sets address and data to perform dynamic modification (dmm). opens the dmm dialog box. [edit source] when the project manager is operating, opens the source file displayed in an active source window by using the editor specified by the project manager.
chapter 6 window reference users manual u14891ej1v0um00 66 (3) view the items displayed in the display menu differ according to whether the window is active or not. an explanation of each dependent part is given in (b) to (j). figure 6-7. view menu bar
chapter 6 window reference users manual u14891ej1v0um00 67 (a) common part [search] searches character strings and numeric values. opens the search dialog box according to the current window. performs the same operation as the search button. [move] moves the display position. opens the source move dialog box, address move dialog box or trace move dialog box corresponding to the current window. [quick watch] displays the contents of the specified data temporarily. opens the quick watch dialog box. [add watch] adds the specified data to the watch window. opens the add watch dialog box. [view watch] adds the selected data to the watch window. in the case of a symbol, it adds it in accordance with the settings in the debugger option dialog box. [delete watch] deletes the selected watch point from the watch window. this menu is active only when variables are specified in the watch window. [symbol] displays the address of the specified variable or function and the value of the specified symbol. opens the symbol to address dialog box. (b) source window dependent part [event?] displays the cursor position line or the addresss event information. if an event is set, it opens the event dialog box. [mix] switches between assemble display mixed display and no display. no check mark ( ): no mixed display (default). check mark ( ? ): mixed display. (c) disassemble window dependent part [event?] displays event information for the cursor position address. if an event is set, it opens the event dialog box. (d) memory window dependent part [bin] displays the current window in binary. [oct] displays the current window in octal. [dec] displays the current window in decimal. [hex] displays the current window in hexadecimal (default).
chapter 6 window reference users manual u14891ej1v0um00 68 [nibble] displays data in 4-bit units. [byte] displays data in 8-bit units (default). [half word] displays data in 16-bit units. [word] displays data in 32-bit units. [ascii] turns on/off display of ascii characters. no check mark ( ): not displayed (default). check mark ( ? ): displayed. [little endian] the data is displayed in little endian (default). [big endian] the data is displayed in big endian. (e) watch window dependent part [bin] the selected item is displayed as a binary number [oct] the selected item is displayed as an octal number. [dec] the selected item is displayed as a decimal number. [hex] the selected item is displayed as a hexadecimal number. [string] the selected item is displayed as a character string. [proper] the selected item is displayed as the standard value for each variable. in the case of symbols, they are displayed in accordance with the settings in the debugger option dialog box (default). [byte] the selected item is displayed in 8-bit units. [half word] the selected item is displayed in 16-bit units. [word] the selected item is displayed in 32-bit units. [adaptive] the selected item is displayed as standard values for each variable. in the case of c language symbols, only this item is valid. in the case of assembler symbols, they are displayed in accordance with the settings in the debugger option dialog box (default). [up] the selected data is moved 1 line up. [down] the selected data is moved 1 line down. [compulsion read] the data in the peripheral i/o registers, where reading is prohibited because the values will change if they are read, the i/o ports added in the add i/o port dialog box, and the i/o protected areas is subjected to compulsory reading.
chapter 6 window reference users manual u14891ej1v0um00 69 (f) register window dependent part [bin] displayed as a binary number. [oct] displayed as an octal number. [dec] displayed as a decimal number. [hex] displayed as a hexadecimal number (default). [pick up] displays only the register selected in the register select dialog box. no check mark ( ): all are displayed (default). check mark ( ? ): the selected register only is displayed. [select] opens the register select dialog box. (g) ior window dependent part [bin] displayed as a binary number. [oct] displayed as an octal number. [dec] displayed as a decimal number. [hex] displayed as a hexadecimal number (default). [sort by name] displayed in alphabetical order. [sort by address] displayed in address order (default). [unsort] not sorted. [attribute] selects whether to display or not to display the attribute field. no check mark ( ): not displayed. check mark ( ? ): displayed (default). [pick up] only the peripheral i/o register selected in the ior select dialog box is displayed. no check mark ( ): all are displayed (default). check mark ( ? ): the selected register only is displayed. [select] opens the ior select dialog box. [compulsion read] the data in the peripheral i/o registers, where reading is prohibited because the values will change if they are read, the i/o ports added in the add i/o port dialog box, and the i/o protected areas is subjected to compulsory reading.
chapter 6 window reference users manual u14891ej1v0um00 70 (h) local variable window dependent part, stack window dependent part [bin] displayed as a binary number. [oct] displayed as an octal number. [dec] displayed as a decimal number. [hex] displayed as a hexadecimal number. [string] displayed as a character string. [proper] displayed as the standard value for each variable (default). (i) trace view window dependent part this part is valid only for cpu cores with the trcu incorporated. [select] selects the content of the display. opens the trace data select dialog box. [window synchronize >] this links together the trace view window and source window, assemble window, and memory window. [source text] selects whether the source window will be linked or not linked. no check mark ( ): not linked (default). check mark ( ? ): linked. [assemble] selects whether the assemble window will be linked or not linked. no check mark ( ): not linked (default). check mark ( ? ): linked. [memory] selects whether the memory window will be linked or not linked. no check mark ( ): not linked (default). check mark ( ? ): linked. [coverage] selects whether the coverage window will be linked or not linked. no check mark ( ): not linked (default). check mark ( ? ): linked. (j) event manager dependent part [select all event] selects all the events entered in the event manager. [delete event] deletes the selected event. [sort by name] displays the icons sorted by event name. [sort by kind] displays the icons sorted by event kind. [unsort] icons are not sorted (default). [detail] displays details. [overview] displays a list.
chapter 6 window reference users manual u14891ej1v0um00 71 (4) option figure 6-8. option menu bar [tool bar] selects whether the toolbar is displayed or not. no check mark ( ): not displayed. check mark ( ? ): displayed (default). [status bar] selects whether the status bar is displayed or not. no check mark ( ): not displayed. check mark ( ? ): displayed (default). [button] selects whether the function buttons on each window are displayed or not. no check mark ( ): not displayed. check mark ( ? ): displayed (default). [source mode] performs step execution at the source level (line units). [instruction mode] performs step execution at the instruction level (instruction units). [auto mode] switches automatically between source level step execution and instruction level step execution, and executes step execution (default). when the source window is active, source level step execution (except in the mixed display mode) is performed, and when the assemble window is active, instruction level step execution is performed. when neither window is active, source level step execution is performed. [configuration] sets the environment. opens the configuration dialog box. [interrupt mask] sets the external interrupt mask. opens the interrupt mask dialog box.
chapter 6 window reference users manual u14891ej1v0um00 72 [extended option] sets the extended functions. opens the extended option dialog box. [debugger option] sets the debugger. opens the debugger option dialog box. [add i/o port] adds a user-defined i/o port. opens the add i/o port dialog box. [trace >] note sets various settings for trace. [trace option] note opens the trace option dialog box. [clear] note clears the trace data. [supplement data] note selects trace data supplement on/off. if this is checked, the debugger supplements the already fetched data. to supplement correctly, select the all trace mode in the trace option dialog box to ensure that all the data is fetched (this is because all the data is necessary for data supplementation); otherwise, data may be not supplemented correctly. no check mark (): supplementation is not performed (default). check mark ( ? ):supplementation is performed. [tracer on] note selects whether the tracer is turned on or off. while the program is executed, this setting cannot be changed. no check mark ( ): trace is not performed. check mark ( ? ): trace is performed (default). note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 73 (5) run figure 6-9. run menu bar [restart] this performs program execution after resetting the cpu. operates the same as the button. [stop] forcibly stops execution of the program. performs the same operation as the button. [go] executes the program from the current pc. performs the same operation as the button. [return out] executes the program real-time until execution returns to the calling function. performs the same operation as the button. this command is for functions described in c language. [step in] executes instructions in the program one by one (step execution). performs the same operation as the button. if functions or subroutines are called, instructions inside them are executed one by one.
chapter 6 window reference users manual u14891ej1v0um00 74 [next over] executes instructions in the program one by one (next step execution). if functions or subroutines are called, instructions inside them are removed from step execution. performs the same operation as the button. [start from here] executes the program from the cursor position of the source window or assemble window (start function). [come here] executes the program until the cursor position of the source window or assemble window (come function). [go & go] continues execution of the program. if a break occurs because a break condition is satisfied, updates the window and then executes the user program again. performs the same operation as clicking the button each time a break occurs. [slowmotion] continues step execution of the program. after updating the window for each step execution, it performs step execution again. performs the same operation as clicking the button each time a break occurs. [cpu reset] resets the cpu. performs the same operation as the button. [change pc] sets the address at the cursor position of the source window or assemble window to pc. [break point] sets/cancels a breakpoint at the cursor position of the source window or assemble window. [software break point] sets/cancels a software breakpoint at the cursor position of the source window or assemble window. [delete all software break] cancels all software breakpoints that are set. [uncond. trace on] note validates the unconditional trace function. always traces while the user program is executed (default). when the tracer is started, the trace mode cannot be changed. [cond. trace on] note validates the trace function. traces while the user program is executed according to a trace condition. when the tracer is started, the trace mode cannot be changed. [tracer control mode >] note set the tracer mode from the following menu. [non stop] note the total trace memory is traced and then overwritten from the oldest frame (default). [full stop] note the total trace memory is traced and then the tracer is stopped. [delay count] note the tracer is stopped after tracing for the delay count when a delay trigger event occurs.
chapter 6 window reference users manual u14891ej1v0um00 75 [tracer start or tracer stop] note when trace measurement is stopped, this starts it. when trace measurement is being performed, this stops it. tracer start: means that measurement is stopped. if selected, measurement will be started. tracer stop: measurement is in progress. if selected, measurement will be stopped. if program is currently not executed, and during trace off (no ? mark next to the [option] ? [tracer on ] item), this item is invalid (it is displayed in gray). trace measurement starts operating immediately after trace has been turned on and program execution is started. [ignore break point] this selects whether to make a breakpoint valid or invalid. no check mark ( ): valid (default) check mark ( ? ): invalid if it is made invalid, the breakpoint does not cause a hardware or software break at the specified point. during program execution, this setting cannot be switched. note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 76 (6) event figure 6-10. event menu bar [event manager] manages each type of event condition. opens the event manager. operates the same as the button. [software break manager] manages software break conditions. opens the software break manager. [event] enters event conditions. opens the event dialog box. operates the same as the button. [event link] enters event link conditions. opens the event link dialog box. [break] enters and sets break conditions. opens the break dialog box. operates the same as the button. [trace] note enters and sets trace event conditions. opens the trace dialog box. operates the same as the button. [delay count] note sets the delay count and displays the delay value. opens the delay count setting dialog box. note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 77 (7) browse figure 6-11. browse menu bar [source text] displays the source text. opens the source window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [assemble] disassembles and displays the user program. opens the assemble window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [memory] displays the memory contents. opens the memory window. performs the same operation as the button. if a window exists that is already in the active state, it opens the window in the static state. [watch] displays the watch contents (variable and other data). opens the watch window. performs the same operation as the button. [register] displays the register contents. opens the register window. performs the same operation as the button. [i/o register] displays the contents of the peripheral i/o registers. opens the ior window. performs the same operation as the button. [local variable] displays the local variable. opens the local variable window. performs the same operation as the button. [stack trace] displays the stack contents. opens the stack window. performs the same operation as the button. [trace] note displays the result of trace. opens the trace view window. performs the same operation as the button. note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 78 (8) jump figure 6-12. jump menu bar [sourcetext] sets the data selected in the current window as the jump address, and displays the source text and source line starting from that address. no jump can be performed if the jump address contains no line information. opens the source window. if the source window is being displayed in the active state, that window is displayed on the front plane (operation object). [assemble] sets the data selected in the current window as the jump address, and displays the disassembled text starting from that address. opens the assemble window. if the assemble window is being displayed in the active state, that window is displayed on the front plane (operation object). [memory] sets the data selected in the current window as the jump address, and displays the memory contents starting from that address. opens the memory window. if the memory window is being displayed in the active state, that window is displayed on the front plane (operation object).
chapter 6 window reference users manual u14891ej1v0um00 79 (9) window figure 6-13. window menu bar [new window] opens a new window that displays the same contents as the current window. this is valid only in cases where the current window is the source window, assemble window, and memory window. [cascade] cascades the windows in the main window. [tile] tiles the windows in the main window. [arrange icons] rearranges the icons in the main window. [close all] closes all the windows except the main window. [refresh] updates the contents of the window with the latest data. [active] switches the window to the active state. if it is currently in the active state, a check mark is entered on the left of this item. [static] switches the window to the static state. if it is currently in the static state, a check mark is entered on the left of this item. [open window] lists the opened windows. the window with a check mark added at the side of the number is the current window. the window selected by selecting a window name is displayed as the current window.
chapter 6 window reference users manual u14891ej1v0um00 80 (10) help figure 6-14. help menu bar [help topics] displays the table of contents of the help window. [main window help] displays the help for the main window. [current window help] displays the help for the current window. [about] displays the version of the debugger.
chapter 6 window reference users manual u14891ej1v0um00 81 configuration dialog box modal general displays and sets the operating environment of the in-circuit emulator. this dialog box is displayed automatically after the debugger is started. to use the debugger, the operating environment of the in-circuit emulator must be set first in this dialog box. when a project file is read, however, it doesnt need to be set. the result of reading the project file is reflected in the configuration dialog box. opening method this dialog box can be opened in the following methods. when the debugger is started automatically opened in the main window select [option] ? [c onfiguration ? ]. press the grph + o , and c keys in that order. window figure 6-15. configuration dialog box (6) mask setting area (1) cpu select area (7) mapping setting area (5) emulation bus size setting area (2) internal rom/ram setting area (4) programmable ior area setting area (3) cpu clock select area
chapter 6 window reference users manual u14891ej1v0um00 82 function the configuration dialog box consists of the following areas. cpu select area internal rom/ram setting area cpu clock select area programmable ior area setting area emulation bus size setting area mask setting area mapping setting area the function of each area is explained below. (1) cpu select area this area selects a cpu or core name. note that this area can be selected only when the id850nw is started. a chip name can be specified by inputting a name using the keyboard or selecting one from the name drop- down list. (2) internal rom/ram setting area this area displays the size of the internal rom and ram of the cpu. the default size is automatically displayed with the asterisk (*) attached at the end when the cpu is selected. to change the size of the internal rom and ram, select a size from the internal rom and ram drop-down list. the actual memory configuration depends on the target. if the selected size cannot be realized due to in-circuit emulator limitations, the debugger automatically adjusts the size. for that reason, if the configuration dialog box is displayed again, it may be because the size being displayed is greater than the size specified the previous time. the specifiable size for both alignment and setting range is 4096, 12288, 28672, and 61440 bytes.
chapter 6 window reference users manual u14891ej1v0um00 83 (3) cpu clock select area this area specifies the number of system clocks. the unit is mhz. the number of clocks can be specified either via keyboard input, or selected from a drop-down list. (4) programmable ior area setting area this area is used to specify the start address of the programmable ior area. when using programmable ior in devices that support this function, the start address of the programmable i/o area can be set by selecting the check box. the address is aligned to 16 kb. do not change the start address after startup. (5) emulation bus size setting area this area sets the bus size of the area mapped in the rom emulation ram. although it is possible to reset after starting up the debugger, specify in accordance with the memory configuration on the target board. half word: accesses the area mapped by the rom emulation ram in halfwords (16 bits). select when configuring a 16-bit bus using the rom1 probe of the ie-70000-mc-nw-a. word: accesses the area mapped by the rom emulation ram in words (32 bits). select when configuring a 32-bit bus using both the rom1 and rom2 probes of the ie-70000-mc- nw-a. (6) mask setting area this area specifies a mask for the signal sent from the target. the signal of the masked pin cannot be input to the cpu or core. only mask pins when the operation of the target is unstable at the debugging stage. the maskable pins are as follows. nmi0 pin, nmi1 pin, nmi2 pin, reset pin, stop pin, hld pin, dbint pin
chapter 6 window reference users manual u14891ej1v0um00 84 (7) mapping setting area this area specifies the access size, mapping attribute, and address, and sets mapping. (a) selecting memory access size the following memory access sizes can be selected. however, they cannot be selected when rom emulation ram is selected for mapping attribute specification. 8bit: the debugger accesses the memory with the ld.b instruction/st.b instruction. 16bit: the debugger accesses the memory with the ld.h instruction/st.h instruction. 32bit: the debugger accesses the memory with the ld.w instruction/st.w instruction. because these settings specify the access size of the debugger software, the hardware of the external bus operates in accordance with the settings of the mode pin or the ior register. (b) mapping attribute specification the following types of mapping attributes can be selected. memory attribute target: selects a target memory. the target device accesses memory in the target system or inside the chip. rom emulation ram: selects a rom emulation area using a rom probe. in this area, high-speed downloading and pseudo software break setting to a rom area are possible. i/o protect: selects an i/o protect area. the i/o protect area can only be set inside the area set in the target. the area set as i/o protect cannot be read unless it has been registered as an i/o port in the ior window, or registered in the watch window. if it is necessary to read this area, execute a forcible read in these windows. (c) mapping address specification mapping address: specify the address to be mapped. input the higher address and the lower address from the keyboard.
chapter 6 window reference users manual u14891ej1v0um00 85 (d) setting of memory mapping to add memory mapping after specifying the memory attribute and mapping address, click the button. memory mapping corresponding to the memory attribute and to the memory mapping address range is added. the mapping units are adjusted when the button is clicked. if the mapping units do not match, the minimum range subject to mapping that can be set, which includes the specified address, is used. to delete memory mapping select the displayed area where you desire to delete mapping, then click the button. the currently selected mapping will be deleted. memory mapping unit the mapping units of each area are as follows. target area: 1 mb units rom emulation ram area: 1 mb units (only one continuous area of up to 4 mb) i/o protect area: 1 mb units function buttons validates the current environments. sets environments and closes the configuration dialog box. if an error occurs when the button is clicked, the debugger stops because it is impossible to continue. cancels change and closes this dialog box. returns the environmental settings to the state they were in before the configuration dialog box was opened. opens the project file load dialog box. if a project file is open or if an error occurs during reading, the debugger stops because it is impossible to continue. opens the help window. caution apply power to the target before clicking button in the configuration dialog box.
chapter 6 window reference users manual u14891ej1v0um00 86 extended option dialog box modal general this dialog box displays and sets the various extended options of the debugger. opening method this dialog box can be opened in the following methods. in the main window select [option] ? [e xtended option ? ] from the menu bar. press the grph + o , and e keys in that order. window figure 6-16. extended option dialog box (1) trace memory size setting area (2) real-time ram sampling function select area (3) real-time ram sampling range select area (4) real-time internal ram sampling time setting area (6) beep sound specification area (7) verify specification area (5) default break select area
chapter 6 window reference users manual u14891ej1v0um00 87 function the extended option dialog box consists of the following areas. trace memory size setting area real-time ram sampling function select area real-time ram sampling range select area real-time internal ram sampling time setting area default break select area beep sound specification area verify specification area the function of each area is explained below. (1) trace memory size setting area this area sets the trace memory size to trace user program execution. this area is valid only for cpu cores with the trcu incorporated. the specifiable size is selected from five stages from min (level 1) to max (level 5). the trace memory size in each level is as follows. table 6-6. trace memory size level number of frames level 1 (min) 4 k level 2 32 k (default) level 3 64 k level 4 90 k level 5 (max) 128 k note that these values are for reference and differ from the actual number of trace frames. in addition, as the memory size gets larger, the number of trace frames to be registered increases, but the response when reading out the trace data becomes worse. (2) real-time ram sampling function select area this area makes various settings for the real-time ram sampling function. function: selects the real-time ram sampling function as valid/invalid. when set as valid, all the software breakpoints and hardware breakpoints already set become invalid. in addition, because this function is realized by software emulation, the user program execution is temporarily stopped. this is invalid as the default.
chapter 6 window reference users manual u14891ej1v0um00 88 (3) real-time ram sampling range select area area: selects the address range in which real-time ram sampling is to be performed. variables and data allocated to this range can be displayed in the watch window or memory window in close to real time. whole: the entire memory space is the target. the user program execution is stopped for a long time when a large number of windows are opened because the range from which memory is read out is wide. in this case, mnemonics can be displayed in the trace view window when tracer is stopped during program execution. iram + ior: only the internal ram area and ior area are the target (default). (4) real-time internal ram sampling time setting area this area specifies the sampling time (msec) of the real-time ram sampling. variables, data, etc. allocated to the range specified at area: are used for the timing to update the data in the watch window and the memory window. (5) default break select area whether to make the breakpoint setting a software break or a hardware break can be selected by clicking the mouse in the point mark area (the most left column) on the source window or assemble window. soft break: sets a software break. the breakpoint mark is displayed in blue. hard break: sets a hardware break. the breakpoint mark is displayed in red. (6) beep sound specification area specify whether there will be a beep sound when there is a break. if the check box is checked, a beep sound is emitted when there is a break (the default is with the beep sound activated).
chapter 6 window reference users manual u14891ej1v0um00 89 (7) verify specification area this area specifies whether the memory verification check is to be performed when it is written to. if the check box is checked, when download, memory fill, and memory copy is to be performed the memory is verified. a verify check is also performed when variables or data, etc. have been changed in the watch window or memory window, and even when writing to memory (the default is for the check to be performed). function buttons makes the currently set environment active. sets the environment and closes the extended option dialog box. cancels the change contents and closes the extended option dialog box. returns to the environmental setting state that existed before the extended option dialog box was opened. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 90 debugger option dialog box modal general displays and sets each type of extended option in the debugger. opening method this dialog box can be opened by either of the following methods. in the main window select [option] ? [d ebugger option] from the menu bar. press the grph + o , and d keys in that order. window figure 6-17. debugger option dialog box (1) source path specification area (2) default source specification area (3) default load module specification area (4) open file history setting area (5) display font setting area (6) project file setting area (7) toolbar display button setting area (8) two-byte character code setting area (9) tab size setting area (10) startup symbol setting area (11) offset display setting area (12) register name display select area (13) watch symbol setting area (1) (2) (3) (4) (6) (7) (13) (11) (12) (5) (8) (9) (10)
chapter 6 window reference users manual u14891ej1v0um00 91 functions the debugger option dialog box consists of the following areas. source path specification area default source specification area default load module specification area open file history setting area display font setting area project file setting area toolbar display button setting area two-byte character code setting area tab size setting area startup symbol setting area offset display setting area register name display select area watch symbol setting area each function is explained below. (1) source path specification area specify the directory in which the source file or text files will be searched for. the path is specified by inputting it from the keyboard or by using the button. when the button is clicked, the browse dialog box is displayed and the source path can be added. a relative path can also be specified. the directory that is the reference for the relative path is displayed to the right of base:. the reference directory is decided using the following procedure. the directory from which the project files were loaded. the directory from which the latest load module or hex file was loaded. windows current directory. delimiters in path information are specified by ; (semi-colon) or , (comma). japanese characters can be specified in the source path (japanese version only). example if the source is located in the following directory, b:\src c:\asm the source path specification becomes as follows. b:\src;c:\asm
chapter 6 window reference users manual u14891ej1v0um00 92 (2) default source specification area when [file] ? [o pen...] is selected and the browse dialog box is opened, the file extension of the displayed source file is set. file extension delimiters are specified by (blank), ; (semi-colon), or , (comma). (3) default load module specification area set the file extension of the load module displayed when the download dialog box is opened. file extension delimiters are specified by (blank), ; (semi-colon), or , (comma). (4) open file history setting area set the number of items in the history displayed at the bottom of the [file] menu. the number of items can be set in a range of 0 to 10. when 0 is set, the history is not displayed on the menu. the default is 4. (5) display font setting area specify the display font in the source window. if the button is clicked, the font dialog box opens and the display font can be selected.
chapter 6 window reference users manual u14891ej1v0um00 93 (6) project file setting area perform the setting of project file auto save and auto load. (a) project file auto save selection can be made from among the following items. auto save: ? on: performs project file auto save when closing. ? off: does not perform project file auto save when closing. ? query: displays the exit debugger dialog box when closing (default). (b) project file auto load selection can be made from among the following items. auto load: ? on: performs project file auto load when starting. ? off: does not perform project file auto load when starting (default). (c) auto load project file settings specifies the project file to be loaded during auto load. this can be specified when auto load has been turned on. when it is turned off, the specification column becomes inactive (displayed in gray). load project file: input the project file name from the keyboard or set it by clicking the button. if the button is clicked, the browse dialog box is displayed. (7) toolbar display button setting area set the toolbar display button. the display button can be selected from among the following items. ? pictures and text: displays buttons that show both graphics and text. ? pictures only: displays buttons that show only graphics (default).
chapter 6 window reference users manual u14891ej1v0um00 94 (8) two-byte character code setting area this area specifies the kanji code (two-byte character code) of the file displayed in the source or trace view window note . either sjis or euc code can be selected. note that the kanji code specification is only valid for japanese windows. sjis: sjis is used as the kanji code (default). euc: euc is used as the kanji code. note windows/dialog boxes related to the trace is valid only for cpu cores with the trcu incorporated. (9) tab size setting area set the tab size for each file extension when displaying files with that file extension. (a) file extension setting set the file extension. extension: setting of the file extension can be done by inputting it from the keyboard or by selecting from the drop-down list. (b) tab size selection the following tab sizes can be selected. tab size: ? 2: displays the tab code with 2 spaces. ? 4: displays the tab code with 4 spaces. ? 8: displays the tab code with 8 spaces.
chapter 6 window reference users manual u14891ej1v0um00 95 (c) setting tab size for each file extension tab list: displays a list of the file extensions and tab sizes. if a tab size setting is added, and if a tab size is changed, set it by extension and tab size, then click the button. to delete a tab size setting, select the file extension setting in the tab list, then click the button. the currently selected file extension setting is deleted. (10) startup symbol setting area specify the beginning and the end symbol of the startup routine. be sure to specify this area. if it is left blank, the dialog box cannot be closed. downloading an object file in the load module format in the download dialog box automatically opens the corresponding source file. if the specified symbol is incorrect, the source file will not be able to open up to the pc position in the address range of the corresponding source file. even the startup routine cannot be skipped using step execution. begin label: specify the start symbol. the default is __start. end label: specify the end symbol. the default is __startend. (11) offset display setting area set whether there will be an offset display (symbol + offset) during disassemble display. if there is no offset display, a symbol is displayed only when there is a symbol that matches the numerical value, and when there is not a matching symbol, the numerical value is displayed as is in hex notation. the areas where the offset display can be specified are of the following two types. ? label: set whether or not there will be an offset display in the label column. the default is no offset display. ? mnemonic: set whether or not there will be offset display in the mnemonic column. the default is offset display.
chapter 6 window reference users manual u14891ej1v0um00 96 (12) register name display select area select the display method of the register name in the mnemonic during disassemble display. ? function name: displays the register name as the function name or another name (default). ? absolute name: displays the register name as an absolute name. (13) watch symbol setting area specify the watch symbol. (a) default size set the display size of data selected from [view] ? [a daptive] in the watch window, etc. the size displayed can be selected from among the following items. size: ? byte: displays in 8 bits (default). ? half word: displays in 16 bits. ? word: displays in 32 bits. (b) default radix set the display radix of data selected from [view] ? [p roper] in the watch window, etc. the display radix can be selected from among the following items. radix: ? hex: displayed in hexadecimal (default). ? dec: displayed in decimal. ? oct: displayed in octal. ? bin: displayed in binary. ? string: displayed as a character string.
chapter 6 window reference users manual u14891ej1v0um00 97 (c) display/non-display of variable type selects the display/non-display of variable type. show variable type: ? on: displays the type. ? off: not display the type (default). (d) display/non-display of variable type selects the constant display form. language: ? c: displays in c language form (default, fixed). ? asm: cant be selected. function buttons after activating each type of option in the set debugger, the dialog box is closed. makes each of the options set in the debugger on this occasion inactive and closes the dialog box. returns to the environment setting state existing before the debugger option dialog box was opened. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 98 interrupt mask dialog box modal general sets the mask for external maskable interrupts (int0 to int63). opening method this dialog box can be opened by either of the following methods. in the main window select [option] ? [inte rrupt mask] from the menu bar. press the grph + o , and k keys in that order. window figure 6-18. interrupt mask dialog box function the interrupt mask dialog box consists of the following area. interrupt mask specification area the function of this area is explained below. (1) interrupt mask specification area this area specifies whether to mask maskable interrupt signals input from outside the cpu. unchecked interrupts are not masked. (1) interrupt mask specification area
chapter 6 window reference users manual u14891ej1v0um00 99 function buttons sets the specified mask condition and closes the dialog box. closes the dialog box without setting data currently specified. returns to the status before the interrupt mask dialog box was opened. masks all interrupts. unmasks all interrupts. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 100 font dialog box modal general selects the display font for the source window and sets the font size. opening method this dialog box can be opened in the following method. click the button in the debugger option dialog box. window figure 6-19. font dialog box functions the font dialog box consists of the following areas. font name specification area font size specification area sample display area each function is explained below.
chapter 6 window reference users manual u14891ej1v0um00 101 (1) font name specification area select the specified font from among the currently usable fonts. fixed width fonts (fonts with a constant stroke width and fixed pitch fonts) only are listed. when the font name is selected from the list, the font name is displayed in the text box and the font sizes with which that font can be used are displayed in the font size specification area. it is also possible to input the font name directly to the text box using the keyboard. (2) font size specification area the usable sizes of the font specified in the font name specification area are listed in point units. when selecting the font size from the list, the size is displayed in the text box. it is also possible to input the font size directly to the text box from the keyboard. (3) sample display area a sample character string showing the specified font and font size is displayed.
chapter 6 window reference users manual u14891ej1v0um00 102 function buttons changes the font in the source window to the specified font face and font size and closes the dialog box. closes the dialog box without changing the font.
chapter 6 window reference users manual u14891ej1v0um00 103 project file load dialog box modal general this dialog box restores previous debugging environments. by loading a project file, the size of the window that displayed the environments and the position of the environments on the window are also restored. opening method this dialog box can be opened in the following methods. in the main window select [file] ? [proj ect ? ] ? [o pen project ? ] from the menu bar. press the grph + f , j , and o keys in that order. press the button on the toolbar. window figure 6-20. project file load dialog box (3) file type select area (2) file name select area (1) file location select area
chapter 6 window reference users manual u14891ej1v0um00 104 function loads project files. this dialog box consists of the following areas. file location select area file name select area file type select area the function of each area is explained below. (1) file location select area select the drive or directory. (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area displays the type of file displayed in the list. project (*.prj) files are displayed. loaded contents the items from each window shown in the following table are loaded in the project file. however, if the files are loaded after the debugger is started, when a project file with a different target device is loaded, the debugger itself is reset and the project file is loaded (when the target device differs from the target device specified when the debugger was started, the target device becomes the target device specified in the project file).
chapter 6 window reference users manual u14891ej1v0um00 105 table 6-7. saved contents of project file window set data configuration dialog box all items (target device, clock setting, pin mask setting, mapping information) main window display position, toolbar/status bar/button display information, execution mode information, trace on/off information note download dialog box file information to be downloaded extended option dialog box setting information debugger option dialog box setting information interrupt mask dialog box interrupt mask information source window display information of window, font information assemble window display information of window, display start address memory window display information of window, display start address stack window display information of window ior window display information of window local variable window display information of window trace view window note display information of window event dialog box display information of window, event information event link dialog box display information of window, link event information break dialog box display information of window, break event information trace dialog box note display information of window, trace event information event manager display information of window, event information software break manager display information of window, software break information register window display information of window watch window display information of window, watch entry information trace option dialog box note information of trace option delay count setting dialog box note delay count value note valid only for cpu cores with the trcu incorporated. function buttons loads the selected file as the project file. closes the dialog box. closes this dialog box without loading the project file. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 106 project file save dialog box modal general a project file is a file that stores debugging environments. to save debugging environments in a project file, the size of the window that displayed the debugging environments and the position of the environments in the window are also saved. opening method this dialog box can be opened in either of the following methods. in the main window select [file] ? [proj ect] ? [save a s ? ] from the menu bar. press the grph + f , j , and a keys in that order. if a project file was loaded or saved previously, and to save a file of the same name, do as follows: in the main window select [file] ? [proj ect] ? [s ave] from the menu bar. press the grph + f , j , and s keys in that order. in this way, a file of the same name as the previously loaded or saved project file can be saved without the project file save dialog box being opened.
chapter 6 window reference users manual u14891ej1v0um00 107 window figure 6-21. project file save dialog box function the project file save dialog box is used to save a new project file or a project file whose name has been changed. this dialog box consists of the following areas. save location select area file name select area file type select area the function of each area is explained below. (1) save location select area select the drive or directory. (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area displays the type of file displayed in the list. project (*.prj) files are displayed. (1) save location select area (2) file name select area (3) file type select area
chapter 6 window reference users manual u14891ej1v0um00 108 saved contents refer to table 6-7 saved contents of project file for the saved contents of the project file. function buttons saves the project information in the selected file. after saving, closes the dialog box. closes this dialog box without saving the project file. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 109 view file load dialog box modal general reads display files, and also reads source files, other text files and event setting files, and opens a window. opening method this dialog box can be opened in the following methods. in the main window select [file] ? [o pen] from the menu bar. press the grph + f , and o keys in that order. press shortcut keys ctrl + o . press the button on the toolbar. window figure 6-22. view file load dialog box (1) file location select area (2) file name select area (3) file type select area
chapter 6 window reference users manual u14891ej1v0um00 110 function reads display files saved in view file save dialog box, and also reads source files, other text files and event setting files, and opens a window. depending on the file loaded, the window opened and the status differ. loading of a source file (files in which symbol information has been read) if a source window exists in the active state, it is opened in the static state, and there is no source window in the active state, a source window in the active state is opened. source file or display file in which symbol information has not been read it is opened as a text format file in a source window in the static state. loading of an event setting file the event manager is opened and the event setting contents are returned to the previous environment. this dialog box consists of the following areas. file location select area file name select area file kind select area the function of each area is explained below. (1) file location select area select the drive or directory. (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area displays the type of file displayed in the list. the file types are as shown below. table 6-8. view file extension (1/2) file kind (file extension) meaning source (*.c, *.s) note 1 source file text (*.txt) text file source text (*.svw) source window display file assemble (*.dis) assemble window display file memory (*.mem) memory window display file watch (*.wch) note 2 watch window display file notes 1. the source file extension (c, s) can be changed in the debugger option dialog box. 2. if you are using a previous variable window display file, it can be used as a watch window display file by changing the file extension from var to wch.
chapter 6 window reference users manual u14891ej1v0um00 111 table 6-8. view file extension (2/2) file type (file extension) meaning register (*.rgw) register window display file i/o register (*.ior) ior window display file local variable (*.loc) local variable window display file stack trace (*.stk) stack window display file trace (*.tvw) note trace view window display file event (*.evn) event setting file all (*.*) all files note valid only for cpu cores with the trcu incorporated. function buttons loads the selected file. closes this dialog box without loading the display file. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 112 view file save dialog box modal general saves the contents of the current window when the dialog box was opened in a display file or event setting file. opening method this dialog box can be opened in the following methods. in the main window, make the window to be saved the current window and perform either of the following operations. select [file] ? [save a s ? ] from the menu bar. press the grph + f , and a keys in that order. window figure 6-23. view file save dialog box (1/3) no range (when the saved window is local variable window, stack window, ior window, register window, watch window, or event manager) (1) save location select area (2) file name select area (3) file type select area
chapter 6 window reference users manual u14891ej1v0um00 113 figure 6-23. view file save dialog box (2/3) address range (when the saved window is assemble window or memory window) frame range (when the saved window is trace view window) (4) save range setting area (4) save range setting area
chapter 6 window reference users manual u14891ej1v0um00 114 figure 6-23. view file save dialog box (3/3) line range (when the saved window is source window) function this dialog box saves the contents of the current window in a display file. this dialog box consists of the following areas. save location select area file name select area file type select area save range setting area the function of each area is explained below. (1) save location select area select the drive or directory. (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area displays the type of file displayed in the list. the file types are as shown in the following table. (4) save range setting area
chapter 6 window reference users manual u14891ej1v0um00 115 table 6-9. file types and current window file type (file extension) current window name source text (*.svw) source window assemble (*.dis) assemble window memory (*.mem) memory window watch (*.wch) watch window register (*.reg) register window i/o register (*.ior) ior window local variable (*.loc) local variable window stack trace (*.stk) stack window trace (*.tvw) note trace view window event (*.evn) event manager all (*.*) all files note valid only for cpu cores with the trcu incorporated. (4) save range setting area this area is displayed only when the current window to be saved is the assemble window, memory window, source window, or trace view window. all: specifies that all the area from the first line to the last line be saved. screen shot: this specifies that the entire visible area from the top line of the screen to the bottom line be saved. however, in cases where there is a mixed display with the source window, the area saved is the from the source line included in the visible area of the screen. specify line (in the case of the source window), specify frame (in the case of the trace view window note ), specify address (in the case of other windows): this specifies the starting line and end line of the area to be saved. when the starting line and end line are omitted, it is regarded as if the first line/last line were specified. details are as shown below. note windows/dialog boxes related to the trace are valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 116 (a) if current window is assemble window or memory window specifies an address range to be saved. addresses can be also specified by symbols or expressions. (the specification method is the same as in the case of the address move dialog box.) the default radix when numbers are input is hexadecimal. if an area with 256 bytes or more is specified, a dialog box indicating the saving status is displayed. to stop saving midway, click the button in this dialog box. (b) if current window is trace view window note specifies the range of trace frames to be saved. (the specification method is the same as in the case of the trace move dialog box.) the default radix when numbers are input is decimal. if a range of more than 100 frames is specified, a dialog box indicating the saving status is displayed. to stop saving midway, click the button in this dialog box. note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 117 (c) if current window is source window specify the range by line numbers. the default radix when numbers are input is decimal. when the source window is in the mixed display mode, the mixed display portion in the specified lines is also saved. if a range of more than 100 lines is specified, a dialog box indicating the saving status is displayed. to stop saving midway, click the button in this dialog box. function buttons saves in the selected file. after that, closes the view file save dialog box. closes this dialog box without saving the display file. opens the help window. (displayed when the saved window is assemble window, memory window, trace view window, or source window) returns to the status before the view file save dialog box was opened.
chapter 6 window reference users manual u14891ej1v0um00 118 download dialog box modal general this dialog box selects the name and format of a file to be downloaded, and downloads the contents of memory to the in-circuit emulator or target. if an object file in the load module format has been loaded, the corresponding source file is searched, and the source window automatically opens. multi-loadable load module files are up to 20. the files and formats of them that can be downloaded are as follows. nec load module format (elf (.out)) intel hex format file (normal or extended) motorola hex format file s type (s0, s2, s3, s7 and s8) extended tektronix hex format file binary data format file if a file other than an object file in the load module format is loaded, debugging cannot be executed at the source level. opening method this dialog box can be opened in the following methods. in the main window select [file] ? [d ownload ? ] from the menu bar. press the grph + f , and d keys in that order. press the button on the toolbar.
chapter 6 window reference users manual u14891ej1v0um00 119 window figure 6-24. download dialog box function the maximum number of load module files that can be loaded is 20. the download dialog box consists of the following areas. file location select area file name select area file type select area load condition specification area reset conditions specification area offset setting area the function of each area is explained below. (1) file location select area select the drive or directory. (1) file location select area (2) file name select area (3) file type select area (4) load condition specification area (5) reset conditions specification area (6) offset setting area
chapter 6 window reference users manual u14891ej1v0um00 120 (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. this dialog box can be used to specify multiple files. if you are specifying multiple file names, place ; (semi-colon) on both sides of each file name. it is also possible to specify multiple file names from the top column of the area while pressing the shift key or the ctrl key. (3) file type select area displays the file type to be in the list. when downloading, specify the same extension of the file specified in (2). example specify load module (*.out) when downloading a load module file, and hex format (*.hex) when downloading a hex file. the contents displayed for files of type are as shown below. table 6-10. types of files that can be downloaded contents (extension) format load module (*.out) load module format hex format (*.hex) hex format (the format is auto-judged) binary data (*.bin) binary data format remark the hex format is judged automatically. note that these are the default file extensions; file extensions other than these can also be used. (4) load condition specification area sets the load conditions. symbol: specifies whether the symbol information is read (checked, default) or not. note that this condition is disregarded for files other than those in the load module format. object: specifies whether the object information is read (checked, default) or not. in cases where a program configured from multiple load module files is debugged, if there are modules where symbol information is not necessary, if the debugger is set so as not to read symbol information, the memory use volume can be reduced.
chapter 6 window reference users manual u14891ej1v0um00 121 (5) reset conditions specification area sets the reset conditions. symbol: specifies whether to reset (checked, default) or not reset symbol information. cpu: specifies whether to reset or not reset (checked, default) the cpu. when debugging a program configured from multiple load module files, load individual load module files without resetting the symbol information. when downloading the multiple load module files, do not overlap the location addresses. this setting is disregarded for files other than load module format and hex format files. (6) offset setting area specify the offset address when loading. address specification can also be by expressions (except symbols). the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. function buttons after the selected file is loaded, the dialog box is closed. closes this dialog box without loading the file. opens the help window. returns the input data to its original form.
chapter 6 window reference users manual u14891ej1v0um00 122 load module list dialog box modal general the name and file path name of load module files that have been downloaded can be verified. also, the download dialog box can be displayed and the load module can be downloaded. opening method this dialog box can be opened by either of the following methods. in the main window select [file] ? [l oad module...] from the menu bar. press the grph + f , and l keys in that order. window figure 6-25. load module list dialog box function the load module list dialog box consists of the following areas. file name display area add path name check box each function is explained below. (1) file name display area (2) add path name check box
chapter 6 window reference users manual u14891ej1v0um00 123 (1) file name display area this area displays the names of load module files that have been downloaded. the numbers displayed in the no. column show the order in which the files were read. when the add path name check box is checked, the full path is displayed, and when it is not checked, the file name only is displayed. when the file name does not fit on the screen, the mouse or the arrow keys on the keyboard can be used to scroll in order to verify the full name. if the symbol information has been reset in the reset debugger dialog box, or when the symbol information has been reset and downloaded in the download dialog box, the load module file name with which it was downloaded previously is cleared. (2) add path name check box this enables you to switch the display of file names displayed in the file name display area between display with the path (checked) or display with the file name only (unchecked, default). function buttons closes the dialog box. opens the help window. displays the download dialog box. the load module can be newly downloaded. the file name for the newly downloaded file is added in the file name display area when the download dialog box is closed.
chapter 6 window reference users manual u14891ej1v0um00 124 upload dialog box modal general this dialog box selects the name and format of the file to be saved, and saves the contents of the target memory in this file. the following files and formats of them to be saved can be selected. intel hex format file (extended only) motorola hex format file s type (s0, s3, and s7 only) extended tektronix hex format file binary data format file opening method the dialog box can be opened in the following methods. in the main window select [file] ? [u pload ? ] from the menu bar. press the grph + f , and u keys in that order. window figure 6-26. upload dialog box (1) file location select area (2) file name select area (3) file type select area (4) save range setting area
chapter 6 window reference users manual u14891ej1v0um00 125 function the upload dialog box consists of the following areas. file location select area file name select area file type select area save range setting area the function of each area is explained below. (1) file location select area select the drive or directory. (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) file type select area the contents displayed for save as type are as shown below. table 6-11. types of files that can be uploaded contents (file extension) format intel hex (*.hex) intel extended hex format motorola hex (*.hex) motorola hex format tektro hex (*.hex) extended tektronics hex format binary data (*.bin) binary data format all (*.*) all files these are the default file extensions; file extensions other than these can also be used. the data format is decided by the file extension in which it is saved. however, if all (*.*) is selected, the file is saved in the default intel extended hex format. (4) save range setting area specify the address range that is to be saved. it is possible to specify the address by symbols or by expressions. the specification method is the same as in the case of the address move dialog box. the default radix when numbers are input is hexadecimal.
chapter 6 window reference users manual u14891ej1v0um00 126 function buttons after saving the specified address range in the selected file, the dialog box is closed. the font in the source window is changed to the specified font face and font size and the dialog box is closed. closes this dialog box without saving the file. opens the help window. returns the input data to its original form.
chapter 6 window reference users manual u14891ej1v0um00 127 browse dialog box modal general selects the file set in the debugger option dialog box or source search dialog box. opening method this dialog box can be opened in either of the following methods. click the button in the debugger option dialog box. click the button in the source search dialog box. click the button in the source move dialog box. window figure 6-27. browse dialog box (1) file location select area (2) file name select area (3) file type select area
chapter 6 window reference users manual u14891ej1v0um00 128 function the browse dialog box consists of the following areas. file location select area file name select area file type select area the function of each area is explained below. (1) file location select area select the drive or directory. (2) file name select area specify the file name. the file name can be input from the keyboard or it can be selected from the list in the top column of the area. up to 257 characters can be specified. (3) file type select area displays the types of files in the list. the contents displayed in the files of type are as shown below. table 6-12. types of files that can be displayed in browse dialog box contents (file extension) format source (*.c;, *.s) source file (the file extension is specified in the debugger option dialog box) text (*.txt) text file all (*.*) all files remark the source (c, s) file extension can be changed in the debugger option dialog box. function buttons sets the selected file and closes the dialog box. closes this dialog box without setting the file. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 129 source move dialog box modal general specifies the file displayed in the source window and specifies the display start position. opening method this dialog box can be opened in the following methods. when the source window is active select [view] ? [mov e ? ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . window figure 6-28. source move dialog box function this dialog box is displayed when [view] ? [mov e...] is selected while the source window is opening and the files display start position can be changed (a new window does not open). the source move dialog box consists of the following areas. input mode select area file/address specification area the function of each area is explained below. (1) input mode select area (2) file/address specification area
chapter 6 window reference users manual u14891ej1v0um00 130 (1) input mode select area this selects the input mode in cases where the movement destination is specified. { address/symbol: specifies the movement destination by an address (or a symbol). { line/file: specifies the movement destination by a line no. (or file name). (2) file/address specification area this area specifies the display file name or display address. with the default, the string selected in the accessed window, or when there is no selected string, the first character string in the input history, is displayed, but as necessary, it can be changed by inputting from the keyboard. the following two specification methods are used. display address specification display file name specification by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. (a) display address specification specifies the address/symbol in (1). this specifies the address where the display starts. it is possible to specify the address by symbols or by expressions. the specification method is the same as in the address move dialog box. when address/symbol is selected, the default radix when inputting numerical values becomes hexadecimal. the source text is displayed so that source line corresponding to the specified address value can be seen. (b) display file name specification specifies the line/file in (1). this specifies the file name which is displayed in the source window. for the file, it is possible to specify the file name only and to specify the absolute path or the relative path. if the file name only, or the relative path, is specified, search is made for the file in each of the following directories in the order shown. the first file to be found as a result of the search is displayed. the directory which is the source path specified in the debugger option dialog box. the line number can also be specified other than the file name. the files line number is specified as follows.
chapter 6 window reference users manual u14891ej1v0um00 131 <file name #> line no. the file name and line number are specified with the # used to divide them. the line number is specified by a decimal number. the file name can be omitted. when line/file is selected, the default radix when inputting numerical values is decimal. the specified line number is made the header line, and the specified file is displayed. if the file name is omitted, the file is displayed from the specified line of the currently displayed file. when the line number is omitted, the file is displayed from the header line. function buttons opens the browse dialog box. displays the source text from the specified position. closes this dialog box. returns the input data to original value. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 132 address move dialog box modal general specifies a display start address in the memory window or assemble window. opening method this dialog box can be opened in the following methods. (1) in assemble window in the main window select [view] ? [mov e ? ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . (2) in memory window in the main window select [view] ? [mov e ? ] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . window figure 6-29. address move dialog box address move dialog box of assemble window address move dialog box of memory window (1) address specification area (1) address specification area
chapter 6 window reference users manual u14891ej1v0um00 133 function the address move dialog box consists of the following area. address specification area the function of this area is explained below. (1) address specification area this area specifies a display start address. the default address is the string selected in the called window, or the value of the current pc. this value can be changed by keyboard input as necessary. an address can also be specified by a symbol or expression. the specification method is the same as in the case of the symbol to address dialog box, but the default radix when inputting numerical values is hexadecimal. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. function buttons displays the memory window or assemble window from the specified address. closes this dialog box. returns the input data to original value. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 134 trace move dialog box modal general specifies the trace view window displays display start position. this dialog box is valid only for cpu cores with the trcu incorporated. opening method this dialog box can be opened in the following methods. when the trace view window is active, select [view] ? [mov e...] from the menu bar. press the grph + v , and v keys in that order. press shortcut keys ctrl + j . window figure 6-30. trace move dialog box function this dialog box is displayed by selecting [view] ? [mov e...] when the trace view window is opening, and it can be used to change the trace results display starting position. the trace move dialog box consists of the following areas. frame select area frame no. specification area the function of each area is explained below. (2) frame no. specification area (1) frame select area
chapter 6 window reference users manual u14891ej1v0um00 135 (1) frame select area this selects the frame which is the move destination. 1st frame of last block: move to the first frame in the trace data. trigger frame of last block: move to the latest trigger frame in the trace data. last frame of last block: move to the last frame in the trace data. frame no.: move to the frame with the specified no. when 0 is specified, move to the first frame in the trace data. when this item is checked, shift the focus to the area specified by the frame no. (2) frame no. specification area if frame no. is selected in the frame select area, this is the area which specifies the frame no. in the default, the string selected in the accessed window, or last is displayed, but as necessary, it can be changed by inputting from the keyboard. the default radix when inputting numerical values is decimal. when a + mark is input in front of a numerical value, the area moves forward the specified number of frames (below the display) from the frame at the cursor position. conversely, when a C mark is input in front of the numerical value, the area moves the specified number of frames backward (above the display). the frame no. specification can also be specified in the following format. it is also possible to specify it in abbreviated form. input characters are not case sensitive. the contents are shown below. table 6-13. format of frame no. specification specification abbreviated form content first s move to the header frame of the trace data. trigger t move to the trigger frame of the trace data. last l move to the last frame of the trace data. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained.
chapter 6 window reference users manual u14891ej1v0um00 136 function buttons performs trace display from the specified position. closes the trace move dialog box. returns the input data to the original form. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 137 symbol to address dialog box modeless general this dialog box displays the address of a specified variable or function, and the value of a symbol. opening method this dialog box can be opened in the following methods. select [view] ? [sy mbol ? ] from the menu bar. press the grph + v , and y keys in that order. window figure 6-31. symbol to address dialog box function the symbol to address dialog box consists of the following areas. symbol specification area conversion results display area display radix specification area the function of each area is explained below. (1) symbol specification area (1) symbol specification area (2) conversion results display area (3) display radix specification area
chapter 6 window reference users manual u14891ej1v0um00 138 this area specifies the variable, function name, symbol name, or line number whose address is to be converted. other than this, an i/o port name, peripheral i/o register name, register name, psw flag name or an expression can be specified. the i/o port name and peripheral i/o register name are displayed by address values, the register name is displayed by the register contents and the psw flag name is displayed by the flag value. also, bit symbols are converted to address.bit. furthermore, an expression cannot be written which includes a bit symbol. specification methods are shown below. table 6-14. format of symbol specification conversion object specification method variable var file#var (if a static variable with a file name attached is specified.) func#var (if a static variable with a function name attached is specified.) file#func#var (if a static function with a file name and function name attached is specified.) function func file#func (if a static function with a file name attached is specified.) label label file#label (if a local label with a file name attached is specified.) bit symbol bitsym file#bitsym (if a local bit symbol with a file name attached is specified.) line number of source file file#no i/o port portname i/o register i/o regname register regname psw flag pswname remark var: variable name, func: function, file: file name, label: label name, bitsym: bit symbol name, portname: i/o port name, i/o regname: peripheral i/o register name, regname: register, pswname: psw flag name, no: source file line number. a # (sharp) is used as the separator between the file name and variable, function name and line number. if the specified symbol could not be found inside the scope, all symbols are searched for (static variable, static function, local label, and local bit symbol). in the default, the symbol name has priority. furthermore, when desiring to change the priority order temporarily, adding a $ (dollar) sign in front of the symbol causes the register name to have priority. if you are reading multiple load modules, when specifying the load module names, use the separator $ between the load module name and the file name, variables, function name and symbol name. in the default, the string selected in the accessed window is displayed, but as necessary, it is possible to change it by inputting from the keyboard. the radix of the default when inputting numerical values is decimal. when changing the contents of the symbol specification area, clicking the button displays the conversion results in the conversion results display area. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained.
chapter 6 window reference users manual u14891ej1v0um00 139 (2) conversion results display area the variables specified in the symbol specification area, the function address, symbol values, line number addresses and expression values, etc. are displayed in this area. (3) display radix specification area this specifies the display radix of the conversion results display area. hex: displayed in hexadecimal (default). dec: displayed in decimal. oct: displayed in octal. bin: displayed in binary. function buttons when the contents of the symbol specification area have been changed, the symbols are converted. after conversion, when you are not changing the contents of the symbol specification area, the dialog box closes. closes the symbol to address dialog box. returns the input data to the original values. if the button has already been clicked, the data return to the state they were in just after the button was clicked. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 140 source window mdi child window general this window displays the source file or text file. also, display of disassembly of a program mixed with a source file, and execution of on-line assembly on a mixed display can be done. the source window has two states: active state and static state. opening method this window can be opened in the following methods. automatically opened following the download of a load module file when a corresponding source file exists. in the main window select [browse] ? [s ourcetext] from the menu bar. press the grph + b , and s keys in that order. select [jump] ? [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . click the button on the toolbar. in the view file load dialog box, select source file or text file, then click the button. window figure 6-32. source window (1/2) normal display mode (1) point mark area (2) current pc mark area (3) line number/address display area (4) source text display area
chapter 6 window reference users manual u14891ej1v0um00 141 figure 6-32. source window (2/2) mixed display mode there are two modes in the source window, normal display mode and mixed display mode. an explanation of each of these modes is given below. please refer to (4) source text display area for further details. (1) normal display mode in the normal display mode, other than display of source files, general text files can be displayed. (2) mixed display mode in the mixed display mode, disassembly of programs combined with source files is displayed and on-line assembly is carried out. in on-line assembly, the cursor is moved to the mnemonic. on-line assembly results are reflected in the memory window. the display content in the mixed display mode can be saved as a display file. also, in the source window which displays the source file that read the symbol information, there are two states, the active state and the static state. source windows in the active state can be opened one at a time only, and multiple windows in the static state can be opened at a time. switching between states is accomplished in the [window] menu. source files in which symbol information has not been read are read as text format files and their contents are not changed. these two states are described below. (1) active state the source window in the active state is synchronized with the current pc value and the source windows display is updated continuously so that it is always displaying the current pc line. also, if the source window in the active state is synchronized not only with the jump functions jump destination but also with the trace view window note , the display in the source window is updated in synch with the trace view window. the source window first opened is in the active state. note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 142 (2) static state source window in the static state is not synchronized with the current pc value and do not change the display position, but their contents are updated. also, a source window in the static state does not become a jump destination and is not synchronized with the trace view window. if an active source window is already open, a source window is open in the static state. function this window displays source files or text files. it also displays disassembled display of programs mixed with source files and can also perform on-line assembly in a mixed display. the tab size and display font can be specified in the debugger option dialog box. the source window consists of the following areas. point mark area current pc mark area line number/address display area source text display area the function of each area is explained below. (1) point mark area this area sets or deletes breakpoints, and displays the set status of each event condition and whether the program code exists or not.
chapter 6 window reference users manual u14891ej1v0um00 143 (a) breakpoint setting/deleting function by clicking this area with the mouse, a breakpoint can be set or deleted. the necessary mouse operations are as follows depending on the line where the mouse is clicked. table 6-15. breakpoint setting/deleting function state of line where mouse is clicked setting of on mouse click in extended option dialog box operation soft break sets software breakpoint where blank or other marks than b mark are displayed (e, l, t mark etc.) hard break sets hardware breakpoint soft break deletes software breakpoint where b mark (blue) is displayed (software breakpoint) hard break sets hardware breakpoint soft break sets software breakpoint where b mark (red) is displayed (hardware breakpoint) hard break deletes hardware breakpoint soft break if b mark is in software break, deletes breakpoint. where b mark (black) is displayed hard break if b mark is in hardware break, deletes breakpoint. setting and deletion of breakpoints can be performed for lines which have an * displayed in the point mark area. as for lines without an * displayed, setting or deletion can be done on either the line above or below the line where an * is displayed. if a breakpoint is set, the b mark is displayed in the point mark area. however, if some mark is already displayed, the a mark is displayed. the a mark shows that multiple events are set. if a breakpoint is deleted, the b mark in the point mark area is deleted. however, if another event still remains, the mark of that event is displayed. the b mark is displayed in the following colors in accordance with the type of breakpoint and its state. table 6-16. breakpoint display color display color explanation blue shows that the set software break is valid. red shows that the set hardware breakpoint is valid. black shows that the set breakpoint is invalid. hardware breakpoints can be validated in the event manager or in the break dialog box, and software breakpoints in the software break manager. if a breakpoint is set in the point mark area, it becomes valid at the time when it is set.
chapter 6 window reference users manual u14891ej1v0um00 144 (b) event condition display function the set status of each event is displayed. if an execution event or access fetch event is set to the corresponding source line, a mark corresponding to the type of event is displayed. table 6-17. meaning of event display mark mark meaning e set position of event condition l final stage set position of event link b set position of break event note t set position of trace event a set position of two or more events if a range address is specified as an events address condition, the lower order address of the range becomes the object. also, the address conditions mask specification is not reflected. note valid only for cpu cores with the trcu incorporated. (c) program code display function lines where an * is displayed in the point mark area show that program code corresponding to the line number exists. table 6-18. program codes symbol explanation with * shows that program code corresponding to the source file line no. exists. this is displayed only in cases where the load module is downloaded and symbol information has been read. without * shows that program code corresponding to the source file line no. does not exist. also, file other than a source file, such as a text file is displayed, all the lines have no * displayed. (2) current pc mark area this area displays the mark > indicating the value of the current pc (pc register value). by clicking the mouse at this mark, the pc register value is displayed on the pop-up window.
chapter 6 window reference users manual u14891ej1v0um00 145 the program is executed up to the specified line by double-clicking on the current pc mark area. (3) line number/address display area normal display mode mixed display mode displays the line number of the source file or text file. on lines where program code corresponding to the source file line number exists, the line number is displayed in red characters and on lines where no program code exists, the line number characters are displayed in black. also, the disassemble displays address is displayed in the mixed display mode. address letters are displayed in gray. the position of the line number/address display area can be selected as desired by clicking the mouse. a selected line number or address is displayed in reverse highlight. the following functions are included in line number or address selection. (a) drag-and-drop function the selected reverse highlighted line number or address can be dragged and dropped to another window or area. if the line number or address position selected in the line number/address display area is dragged using the left button of the mouse, the mouse cursors shape changes from an arrow to a . if the cursor is moved into a window or area where it is possible to drop it, the shape of the mouse cursor changes form to . operation is executed toward the address determined from the dropped address or line number in the window where they have been dropped. operation after drag-and-drop differs depending on the window or area where the items were dropped.
chapter 6 window reference users manual u14891ej1v0um00 146 table 6-19. details of drag and drop function (line/address) window or area which is the drop object operation after drop event manager event manager area in each of the setting dialog boxes below event dialog box event link dialog box break dialog box trace dialog box note with the dropped line number or address as the address condition, the execution event conditions are generated automatically. the event condition names are generated automatically, as evt00001, evt00002, ... the path count is not specified. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. link condition setting area and disable condition setting area in the event link dialog box break condition setting area in the break dialog box section trace start condition area, section trace end condition area, and delay trigger condition setting area in the trace dialog box note with the dropped line number or address as the address condition, the execution event conditions are generated automatically. furthermore, automatically generated event conditions are set in the conditions setting area where they were dropped. the event condition names are generated automatically, as evt00001, evt00002, ... the path count is not specified. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. address condition setting area and data condition setting area in the event dialog box the line numbers or the address texts are set in the area where they were dropped. address conditions are set in the form of symbol name + offset value for the symbol which is the closest. note valid only for cpu cores with the trcu incorporated. (b) window link function this function is a function which expresses the combination relationship between the trace view window and source window by line number or address. the trace view window and the line number or address which is the link object are displayed in reverse highlight. this function is valid only for cpu cores with the trcu incorporated. for details, refer to the window link function under trace view window . (4) source text display area the source text display area performs display and disassembly display of source files and text files and on- line assembly. the display contents of the source text display area can be scrolled using the vertical and horizontal scroll bars. by selecting [view] ? [m ix] on the menu bar, you can switch between the normal display mode and the mixed display mode.
chapter 6 window reference users manual u14891ej1v0um00 147 example 1. normal display mode the normal display mode is the mode in which the contents of source files or text files are viewed. 2. mixed display mode the mixed display mode is the mode where disassembly display in combination with source file display is performed. if a line of the displayed source file corresponds to program code, the disassemble line is displayed following that source line. in the disassemble line, the address label, code data and disassembled mnemonic are displayed. the mnemonics display starting position is adjusted according to the tab size setting value. the mixed display mode is valid only in cases where a load module is downloaded and symbol information is read into it, and a source file corresponding to the downloaded load module is displayed. even if [view] ? [m ix] on the menu bar is checked and mixed display mode is selected, in cases where a source file other than one corresponding to a load module is displayed, the display mode is the normal dis play m ode. the disassemble display in the mnemonic column displayed in the mixed display mode can be changed. in the case of a change, move the cursor to the mnemonic column of the disassemble display line and change it. the overwrite mode and the insert mode can be switched during editing using the ins key. if the cursor is moved to a different line after making changes in the mnemonic column, the change contents are checked. if the change contents are incorrect, the code data in the line where the change was made becomes an *.
chapter 6 window reference users manual u14891ej1v0um00 148 even if moved to a different line, the change contents are not written to memory. a different line can be changed with the change contents not written to memory. the changed contents of the mnemonic column are written to memory using the enter key. the change contents are also checked if the enter key is pressed. if the change contents are incorrect, the code data in the incorrect line become an *. if there is even one incorrect line, the change contents are not written to memory. in such a case, please correct the change contents. if you are discarding the change contents, press the esc key. if the change contents are not incorrect, press the enter key. after the change contents are written to memory, the cursor moves to the next lines mnemonic column. then the next line can be changed. the current pc line and the breakpoint setting line are displayed with different display colors and in bold characters. table 6-20. current pc line and breakpoint setting line meaning of line display color explanation current pc line yellow this is the source line or the disassemble display line corresponding to the current pc value. it is the line where a > is displayed in the current pc mark area. when there is a mixed display, the display color of the disassemble display line only is changed. the source line is displayed with the normal display color. breakpoint setting line red this is a source line or a disassemble display line where a valid breakpoint is set. it is the line where a red or blue b is displayed in the point mark area. when there is a mixed display, the display color of the disassemble display line only is changed. the source line is displayed with the normal display color. the source text display area has a number of functions, including program execution with the line where the cursor is positioned as the object and setting of the breakpoint. start function come function breakpoint setting function program counter setting function jump function with these functions, if there is a cursor located on the source text line, the top address of the program code corresponding to the source line becomes the object and if the cursor is located on the disassemble display line, that address becomes the object. also, if no program code exists on the source line, the top address of either the line above or the line below that line, where program code exists, becomes the object. furthermore, these functions cannot be executed in the following cases. the corresponding menu becomes gray in color and it becomes impossible to select it. in the case where a file other than a source file is being displayed. in the case where a user program is being executed. each function is explained below.
chapter 6 window reference users manual u14891ej1v0um00 149 (a) start function executes the user program from the line where the cursor is located. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line where execution is to start. <2> perform one of the following operations in the main window. select [run] ? [sta rt from here] from the menu bar. press the grph + r , and a keys in that order. press the shortcut keys shift + f6 . (b) come function executes the user program up to the line where a cursor is placed. while the user program is executed by this function, however, the currently set break event is not generated. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line at which a break is to occur. <2> perform one of the following operations in the main window. select [run] ? [com e here] from the menu bar. press the grph + r , and m keys in that order. press the shortcut key f6 . (c) breakpoint setting function sets a breakpoint to the line where a cursor is placed. an execution event is used as the breakpoint to be set. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line on which a breakpoint is to be set. <2> perform one of the following operations in the main window. select [run] ? [b reak point] or [s oftware break point] from the menu bar. press the grph + r , and b keys or the grph + r , and f keys in that order. press shortcut key f9 or f11 . (d) program counter setting function sets the address of the line where a cursor is placed to the program counter (pc). this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line where you desire to set the program counter (pc). <2> perform one of the following operations in the main window. select [run] ? [ch ange pc] from the menu bar. press the grph + r , and h keys in that order. press shortcut keys ctrl + f9 .
chapter 6 window reference users manual u14891ej1v0um00 150 (e) jump function jumps to the assemble window or memory window by using the address of the line where a cursor is placed as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line which is the jump origin. <2> perform one of the following operations in the main window. if the jump destination is the assemble window select [jump] ? [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . if the jump destination is the memory window select [jump] ? [me mory ? ] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m . the text displayed in the source text display area can be selected by the following methods. from the desired position in the displayed text, drag the text to the desired position within the range of one line. select the text from the drag start position to the end position. double-click on the character string. the words in the double-clicked position are selected. in the source text display area, there are a number of functions which can be performed with the selected text as the object, such as watch and quick watch. (f) watch function adds the selected variables, etc. to the watch window and displays their contents. this function can be run by performing the following operations in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] ? [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. click the button in the source window. if the assembler symbol was selected, add it to the watch window in accordance with the settings in the debugger option dialog box. apart from the above method, this function can also be run by performing the following operation. <1> select the text. <2> perform one of the following operations in the main window. select [view] ? [add w atch] from the menu bar. press the grph + v , and w keys in that order. by performing the above operation, the add watch dialog box is opened and the selected text is added to the watch window. furthermore, if the watch window has not yet been opened, it will be opened.
chapter 6 window reference users manual u14891ej1v0um00 151 (g) quick watch function this displays the contents of the selected variables, etc. temporarily in the quick watch dialog box. this function is run by performing the following operation in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] ? [q uick watch] from the menu bar. press the grph + v , and q keys in that order. press the shortcut keys ctrl + w . click the button in the source window. the quick watch dialog box will open and the contents will be displayed. (h) balloon watch function this displays the contents of the selected variables, etc. temporarily in the selected place. this function is run by performing the following operation in order. <1> select the text. <2> place the mouse cursor on the selected text. the tool tips view frame will be displayed and the contents will be displayed. example display of contents (i) drag-and-drop function through a drag-and-drop operation, the selected text can be dragged to another window or area and dropped. the operation order is shown below. <1> drag the selected text using the left button of the mouse. the mouse cursors shape will change from an arrow to a . <2> if the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . operation after drag-and-drop differs depending on the window or area where the items were dropped.
chapter 6 window reference users manual u14891ej1v0um00 152 table 6-21. details of drag and drop function (character string) window or area which is the drop object operation after drop event manager event manager area in each of the setting dialog boxes below event dialog box event link dialog box break dialog box trace dialog box note if it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the access status (access all status) or the execute status event conditions are generated automatically. the event condition names are generated automatically, as evt00001, evt00002, ... the data conditions and path count are not specified. the dropped text is set in the address conditions. the relationship between the generated event conditions and the symbols is as follows. symbol status variable r/w function execute symbols in the data section r/w symbols in the code section execute other r/w link condition setting area and disable condition setting area in the event link dialog box break condition setting area in the break dialog box section trace start condition area, section trace end condition area, and delay trigger condition setting area in the trace dialog box note if it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the access status (access all status) or the execute status event conditions are generated automatically. furthermore, the automatically generated event conditions are set in each dropped conditions setting area. the event condition names are generated automatically, as evt00001, evt00002, ... the data conditions and path count are not specified. the dropped text is set in the address conditions. the relationship between the generated event conditions and the symbols is as follows. symbol status variable r/w function execute symbols in the data section r/w symbols in the code section execute other r/w address condition setting area and data condition setting area in the event dialog box text is set in the dropped area. watch window if the dropped text can be recognized as a symbol, the symbol contents are displayed. note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 153 function buttons opens the source search dialog box and searches for source text character strings. if text is selected in the source text display area, the selected text is set as the search object and the source search dialog box is opened. if text has not been selected, the source search dialog box is opened with the search object in the blank state. the search method is specified in the source search dialog box. the search results are displayed as selected in the source window. performs the same operation as [view] ? [s earch] on the menu bar. searches for the text which matches the search conditions set in the source search dialog box in the backward direction from the cursor position (toward the top of the display). it changes to a button during a search. searches for the text which matches the search conditions set in the source search dialog box in the forward direction from the cursor position (toward the bottom of the display). it changes to a button during a search. interrupts a search. during a search, the button or the button changes to a button. adds variables and other items selected in the source text display area to the watch window. if the watch window is currently not open, this button opens it. if text is not selected in the source text display area, the watch window is opened only. this button operates the same as [view] ? [vi ew watch]. displays the selected variables and other contents of the source text display area temporarily in the quick watch dialog box. opens the quick watch dialog box. if text is not selected in the source text display area, the quick watch dialog box is opened only. this button operates the same as [view] ? [q uick watch]. updates the contents of the window to the latest data. closes this window. caution if program code is described in an include file and if multiple files are included, the 1 to 1 relationship between line numbers and addresses disappears. in such include files, the function which uses the relationship between the line number and the address does not function normally.
chapter 6 window reference users manual u14891ej1v0um00 154 source search dialog box modeless general this dialog box searches file contents. opening method this dialog box can be opened in the following methods. when the source window is active select [view] ? [s earch ? ] from the menu bar. press the grph + v , and s keys in that order. press the shortcut keys ctrl + g . click the button. window figure 6-33. source search dialog box function the source search dialog box consists of the following areas. search data specification area search condition specification area search direction specification area search file specification area the function of each area is explained below. (1) search data specification area (2) search condition specification area (3) search direction specification area (4) search file specification area
chapter 6 window reference users manual u14891ej1v0um00 155 (1) search data specification area this area specifies the data to be searched. although the character string selected in the window that has called this dialog box is displayed as the default assumption, the character string can be changed by keyboard input as necessary. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. (2) search condition specification area this area specifies whether the uppercase and lowercase characters of the searched data are distinguished by using the check box before search. as the default, uppercase and lowercase characters are distinguished. does not distinguish distinguishes (default) (3) search direction specification area this area specifies the direction of search. two directions, upward and downward, can be selected. up: upward search. searches the data from the current cursor position toward the beginning (upward on display). down: downward search. searches the data from the current cursor position toward the end (downward on display). (4) search file specification area this is the area which specifies the search file. if the specification is omitted, a search is made within the accessed window.
chapter 6 window reference users manual u14891ej1v0um00 156 function buttons searches the specified data under given conditions. if a matching character string is found as a result of the search, it is displayed in reverse video. to continue searching data, click this button again. sets the specified conditions as search conditions and closes the dialog box. stops searching the data. the button changes to the button while data is being searched. closes the source search dialog box. this button changes to the button while data is being searched. opens the help window. opens the browse dialog box.
chapter 6 window reference users manual u14891ej1v0um00 157 assemble window mdi child window general this window displays a disassemble text. it can also execute on-line assemble. opening method this window can be opened in the following methods. in the main window select [browse] ? [a ssemble] from the menu bar. press the grph + b , and a keys in that order. select [jump] ? [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press the shortcut keys ctrl + d . click the button on the toolbar. window figure 6-34. assemble window (1) point mark display area (2) current pc mark display area (3) address display area (4) disassemble display area
chapter 6 window reference users manual u14891ej1v0um00 158 function performs disassemble display and on-line assembly. on-line assembly is performed by moving the cursor to the mnemonic. the on-line assembly results are also reflected in the memory window. the disassemble window has two states, the active state and the static state. only one disassemble window in the active state can be opened at a time, but multiple disassemble windows which are in the static state can be opened at the same time. these two states are described below. (1) active state the first assemble window that is opened is in the active state. the assemble windows display is updated when it is in the active state so that the current pc line is displayed at all times in synch with the current pc value. also, when in the active state, the assemble window becomes the jump destination for the jump function and, if it is synchronized with the trace view window note , it updates the assemble windows display in synch with the trace view window. note valid only for cpu cores with the trcu incorporated. (2) static state an assemble window in the static state is not synchronized with the current pc value and it displays a constant address. also, an assemble window in the static state cannot be made a jump destination, nor can it be synchronized with the trace view window. if an assemble window has already been opened in the active state, then all subsequent windows are opened in the static state. the assemble window consists of the following areas. point mark display area current pc mark display area address display area disassemble display area the function of each area is explained below.
chapter 6 window reference users manual u14891ej1v0um00 159 (1) point mark display area this area sets or deletes breakpoints, and displays the setting status of each event. (a) breakpoint setting/deleting function by clicking this area with the mouse, breakpoints can be set or deleted. the operation when clicking the mouse is as follows depending on the line where the mouse is clicked and the setting of on mouse click in the extended option dialog box. for details, refer to table 6-15 breakpoint setting/deleting function . if a breakpoint is set, the b mark is displayed in the point mark area. however, if there is a mark already displayed, the a mark is displayed. the a mark shows that multiple events are set. if a breakpoint is deleted, the b mark in the point mark area is deleted and the area is left blank or a mark other than the b mark is displayed. however, if another event still remains, the mark of that event is displayed. for details of the b mark, refer to table 6-16 breakpoint display color . if a breakpoint is set in the point mark area, it becomes valid at the time when it is set. (b) event condition display function the set status of each event is displayed. if the execution event, or the fetch condition of an access event is set, a mark indicating the type of each event condition is displayed in the corresponding assemble line. for details, refer to table 6-17 meaning o event display mark . if a range address is specified as an events address condition, the lower order address of the range becomes the object. also, the address conditions mask specification is not reflected. (2) current pc mark display area this area displays mark > indicating the value of the current pc (pc register value). the program is executed up to the specified line by double-clicking on the current pc mark area.
chapter 6 window reference users manual u14891ej1v0um00 160 (3) address display area this area displays the disassemble start address. when this field is clicked, an address is displayed in reverse video and selected. in addition, this area has the following functions. (a) drag-and-drop function a selected line number or address which is reverse highlighted can be dragged to another window or area and dropped. if the mouse cursor is positioned on the position of the selected line number or address in the line number/address display area and the left button is pressed and held down, then when the mouse is dragged, the arrow cursor form changes to a . if the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . operation is performed with respect to the dropped address in the window where it is dropped. operations after an address is dropped depend on the respective window or area where it is dropped. for details, refer to table 6-19 details of drag and drop function (line/address) . (b) window link function this function is a function which shows the combination relationship between the trace view window and the disassemble display by an address. the trace view window and the address which is the link object is displayed in reverse highlight. this function is valid only for cpu cores with the trcu incorporated. for details, refer to the window link function of the trace view window .
chapter 6 window reference users manual u14891ej1v0um00 161 (4) disassemble display area the address label, code data and disassembled mnemonic are displayed in the disassemble display area. the disassemble display in the mnemonic column can be changed. if you are changing it, move the cursor to the mnemonic column to make the change. during editing, the ins key can be used to switch between the overwrite mode and the insert mode. after making the desired changes in the mnemonic column, if the cursor is moved to a different line, the contents of the change are checked. if the change contents are incorrect, the code data in the changed line becomes an *. even if it is moved to a different line, the change contents are not written to memory. you can change another line without the changes being written to memory. the changed contents in the mnemonic column are written to memory by pressing the enter key. the change contents are also checked when the enter key is pressed. if the change contents are incorrect, the code data in the incorrect line become an *. if even one line is incorrect, the change contents are not written to memory. in such a case, please correct the change contents. if the change contents are being discarded, press the esc key. if the change contents are not incorrect, if the enter key is pressed, after the change contents are written to memory, the cursor moves to the next lines mnemonic column. in this way changes can continue to be made in the next line. if, as a result of the change, the number of bytes in the instructions after the change is fewer than the number of bytes in the instruction before the change, the remaining bytes are replaced by the nop instruction. also, if, as a result of the change, the number of bytes in the instructions after the change is greater than the number of bytes in the instruction before the change, the next instruction is overwritten. in this case also, the remaining bytes are replaced by the nop instruction. even in cases where the change runs into the source line, it is overwritten in the same way. as for the current pc line and the breakpoint setting line, the display color is changed and they are displayed in bold. for details, refer to table 6-20 current pc line and breakpoint setting line . the disassemble display area includes a number of functions such as program execution with the line where the cursor is located as the object, or setting of the breakpoint, etc. start function come function breakpoint setting function program counter setting function jump function furthermore, in the following case, these functions cannot be executed. the corresponding menu is displayed in gray and it becomes impossible to select them. if a user program is being executed. each function is explained below.
chapter 6 window reference users manual u14891ej1v0um00 162 (a) start function executes the user program from the line where the cursor is located. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line where execution is to start. <2> perform one of the following operations in the main window. select [run] ? [sta rt from here] from the menu bar. press the grph + r , and a keys in that order. press the shortcut keys shift + f6 . (b) come function executes the user program up to the line where a cursor is placed. while the user program is being executed in this mode, however, the break event currently set is not generated. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line where execution is to start. <2> perform one of the following operations in the main window. select [run] ? [com e here] from the menu bar. press the grph + r , and m keys in that order. press the shortcut key f6 . (c) breakpoint setting function sets a breakpoint to the line where a cursor is placed. an execution event is used as the breakpoint to be set. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line to which a breakpoint is to be set. <2> perform one of the following operations in the main window. select [run] ? [b reak point] or [s oftware break point] from the menu bar. press the grph + r , and b keys or the grph + r , and f keys in that order. press shortcut key f9 or f11 . (d) program counter setting function sets the address of the line where a cursor is placed to the pc (program counter). this function is executed by performing the following operations in order. <1> move the cursor to the line where you desire to set the program counter (pc). <2> perform one of the following operations in the main window. select [run] ? [ch ange pc] from the menu bar. press the grph + r , and h keys in that order. press shortcut keys ctrl + f9 .
chapter 6 window reference users manual u14891ej1v0um00 163 (e) jump function jumps to the source window or memory window by using the address of the line where a cursor is placed as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in order. <1> move the cursor to the line which is the jump origin. <2> perform one of the following operations in the main window. if the jump destination is the source window select [jump] ? [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . if the jump destination is the memory window select [jump] ? [me mory] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m . the text displayed in the disassemble display area can be selected by the following method. from the position where the desired text starts in the display, drag the mouse to the position within the range of 1 line where the desired text ends. the text from the starting position to the end position is the text that is selected. double-click on the character string. the words in the double-clicked position are selected. in the disassemble display area, a number of functions, such as watch and quick watch with the selected text as the object, can be performed. (f) watch function this adds the selected data to the watch window and displays its contents. furthermore, if an assembler symbol is selected, it is added to the watch window in accordance with the settings in the debugger option dialog box. this function is executed by performing the following operations in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] ? [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. select [view] ? [add w atch] from the menu bar. press the grph + v , and w keys in that order. click the button in the assemble window. if any of these operations is carried out, the add watch dialog box opens and adding is performed. if the watch window is not currently open, the watch window is opened.
chapter 6 window reference users manual u14891ej1v0um00 164 (g) quick watch function this temporarily displays the contents of the selected data in the quick watch dialog box. this function is executed by performing the following operations in order. <1> select the text. <2> perform one of the following operations in the main window. select [view] ? [q uick watch] from the menu bar. press the grph + v , and q keys in that order. press the shortcut keys ctrl + w . click the button in the assemble window. the quick watch dialog box opens and its contents are displayed. (h) balloon watch function this temporarily displays the contents of the selected data in the selected place. this function is executed by performing the following operations in order. <1> select the text. <2> position the mouse cursor on top of the selected text. a tool tip type frame is displayed and the contents are displayed. example display of contents (i) drag-and-drop function through a drag-and-drop operation, the selected text can be dragged to another window or area and dropped. the operation order is shown below. <1> drag the selected text using the left button of the mouse. the mouse cursors shape will change from an arrow to a . <2> if the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . operation after drag-and-drop differs depending on the window or area where the items were dropped. for details, refer to table 6-21 details of drag and drop function (character string) .
chapter 6 window reference users manual u14891ej1v0um00 165 function buttons opens the assemble search dialog box and searches the character string of a mnemonic. if text has been selected in the disassemble display area set the selected text as the search object and open the assemble search dialog box. if text has not been selected, the assemble search dialog box will open with the search object in the blank state. specify the search method in the assemble search dialog box. the search results are selectively displayed in the assemble window. operation is the same as when [view ] ? [s earch...] is selected on the menu bar. searches for the contents which match with the search conditions set in the assemble search dialog box before the cursor position (toward the top of the display). during the search, it changes to a button. searches for the contents which match with the search conditions set in the assemble search dialog box after the cursor position (toward the bottom of the display). during the search, it changes to a button. interrupts the search. during a search, the button or the button changes to the button. adds the symbol, etc. selected in the disassemble display area to the watch window. if the watch window has not been opened, it opens the watch window. if text has not been selected in the disassemble display area, the watch window opens only. operation is the same as when [view] ? [vi ew watch] is selected on the menu bar. temporarily displays the contents of symbols, etc. selected in the disassemble text display area in the quick watch dialog box. it opens the quick watch dialog box. if text has not been selected in the disassemble text display area, the quick watch dialog box opens only. operation is the same as when [view] ? [q uick watch] is selected on the menu bar. updates the window contents to the latest data. closes the assemble window.
chapter 6 window reference users manual u14891ej1v0um00 166 assemble search dialog box modeless general searches the contents of the assemble window. opening method this dialog box can be opened by one of the following methods when the assemble window is the current window. in the main window select [view] ? [s earch...] from the menu bar. press the grph + v , and s keys in that order. press the shortcut keys ctrl + g . in the assemble window click the button. window figure 6-35. assemble search dialog box function this initiates a search for the disassemble contents. continuous null characters in which are included input character strings and disassemble character strings are compared as a null character. the assemble search dialog box consists of the following areas. search data specification area search conditions specification area search direction specification area search range specification area the function of each area is explained below. (1) search data specification area (2) search conditions specification area (3) search direction specification area (4) search range specification area
chapter 6 window reference users manual u14891ej1v0um00 167 (1) search data specification area this specifies the data that are to be searched for. in the default, the string selected in the accessed window is displayed, but as necessary, it can be changed by inputting from the keyboard. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. (2) search conditions specification area (a) when searching, specification is made by the check box whether or not any distinction will be made in the search data between uppercase and lowercase letters. in the default setting, the data is case sensitive. not distinguished. distinguished (default) (b) when searching, this check box specifies whether to search the whole range or not. in the default, only the remaining portion of the range is searched. only the remaining portion of the range is searched (default). the whole range is searched. (3) search direction specification area this specifies the search direction. there are two types of search, search up, and search down. up: this is a search before the current cursor position. search is made up to the current cursor position (toward the top of the screen). down: this is a search after the current cursor position. search is beyond the current cursor position (toward the bottom of the screen).
chapter 6 window reference users manual u14891ej1v0um00 168 (4) search range specification area this is the area where the addresses being searched are specified. a symbol or expression can also be specified for the address specification. the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. function buttons searches for the specified search data in accordance with the conditions. as the search results, the matching character string is displayed in reverse highlight. if you are searching continuously, press this button again. sets the specified conditions as the search conditions and closes the dialog box. interrupts the search for data. during the data search, the button changes to the button. closes the assemble search dialog box. during a data search, it changes to the button. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 169 memory window mdi child window general this window displays and changes the memory contents. opening method this window can be opened in the following methods. in the main window select [browse] ? [m emory] from the menu bar. press the grph + b , and m keys in that order. select [jump] ? [me mory] from the menu bar. press the grph + j , and e keys in that order. click the button on the toolbar. window figure 6-36. memory window without ascii display with ascii display (1) address display area (2) memory display area (3) ascii display area
chapter 6 window reference users manual u14891ej1v0um00 170 function the memory contents are displayed and changed. when the memory window opens, the display start position is as follows. ? first time starts from the top address of the real-time ram sampling area when the real- time ram sampling function is valid. when the function is invalid, the display starts from the top address of the internal ram area. ? second and subsequent times starts from the place where the last active window closed. this applies to both active and static windows (if the active window has never been closed, the start position is the same as first time above). a vertical scroll bar is always displayed so that the memory contents can be scrolled. you can also use the button or the button to move the display one page up or one page down. also, even while user program is executed, any 1 kb of internal ram area (the display range is set in the extended option dialog box) can be displayed in real time. the memory window has two states, the active state and the static state. there can be only one memory window in the active state at a time, but multiple windows can be opened if they are in the static state. each memory window state is explained below. (1) active state the memory window in the active state is the jump destination of the jump function and the memory windows display is updated in synchronization with the trace view window if it is synchronized with the trace view window note . the memory window first opened is in the active state. note valid only for cpu cores with the trcu incorporated. (2) static state memory window in the static state is not the jump destination and do not synchronize with the trace view window. except for those points, it operates in the same way as in the active state. if an active memory window is already open, a memory window is open in the static state. the memory window consists of the following areas. address display area memory display area ascii display area the function of each area is explained below.
chapter 6 window reference users manual u14891ej1v0um00 171 (1) address display area this area displays memory addresses. (2) memory display area this is where the memory contents are displayed and changed. the contents to be changed are displayed in red characters, then by pressing the enter key, they are actually written to the target. the contents prior to the change (when in the red character state) can be erased using the esc key. up to 256 bytes of data can be changed at one time. this area also has the following two functions in addition to displaying the memory contents making changes.
chapter 6 window reference users manual u14891ej1v0um00 172 (a) jump function jumps to the source window or assemble window by using the address at the cursor position as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in the sequential order. <1> move the cursor to the line which is the jump origin. <2> perform one of the following operations in the main window. if the jump destination is the source window select [jump] ? [ s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . if the jump destination is the assemble window select [jump] ? [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . (b) window link function displays the combination relationship between the trace view window and the memory window as memory contents. the relevant address is displayed in reverse highlight. this function is valid only for cpu cores with the trcu incorporated. for details, refer to the window link function under the trace view window . (3) ascii display area this area displays the memory contents in ascii. the memory contents can be converted into ascii characters for display. the conversion method is the same as the memory display area. the display can be turned on/off by selecting [view] ? [a scii] on the menu bar (display is on as default assumption). this area is also a jump pointer for the jump function, just like the (2) memory display area .
chapter 6 window reference users manual u14891ej1v0um00 173 function buttons opens the memory search dialog box and searches for a character string in the displayed memory contents or memory contents. at this time, the selected data (memory value) is displayed in the memory search dialog box as the subject to search. if the dialog box is opened without data specified, specify data by key input. the result of the search is displayed in reverse video in the memory window. searches for the memory contents which match the search conditions set in the memory search dialog box in the backward direction from the cursor position (toward the top of the display). it changes to a button during a search. searches for the memory contents which match the search conditions set in the memory search dialog box in the forward direction from the cursor position (toward the bottom of the display). it changes to a button during a search. interrupts a search. during a search, the button or the button changes to a button. updates the windows contents with the latest data. closes this window.
chapter 6 window reference users manual u14891ej1v0um00 174 memory search dialog box modeless general this window searches the memory contents. opening method this window can be opened in the following methods. set the memory window as the current window and in the main window; select [view] ? [s earch] from the menu bar. press the grph + v , and s keys in that order. press the shortcut keys ctrl + g . in the memory window click the button. window figure 6-37. memory search dialog box (1) search data specification area (2) search condition specification area (3) search direction specification area (4) search range specification area
chapter 6 window reference users manual u14891ej1v0um00 175 function this searches the contents of memory for the memory window where the cursor is positioned. if the cursor is in the memory display area, the specified data is regarded as a binary data string and the memory display area is searched. if the cursor is in the ascii display area, the specified data is regarded as an ascii character string and the ascii display area is searched. unmapped areas, peripheral i/o register areas and i/o protected areas are not searched. the memory search dialog box consists of the following areas. search data specification area search condition specification area search direction specification area search range specification area the function of each area is explained below. (1) search data specification area this area specifies the data to be searched. although the character string selected in the window that has called this dialog box is displayed as the default assumption, the character string can be changed by keyboard input as necessary (input cannot be done using a symbol or expression.) when searching the memory display area, a maximum of 16 items of data can be specified at one time. specify each item of data using a space as a delimiter. when searching the ascii display area, a maximum of 256 characters of data can be specified. spaces in the data are treated as null characters. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. (2) search condition specification area (a) this area specifies what bits of data each specified search data is to be regarded as by using the check box before search. as the default, the data is searched as 8-bit data. search as 8-bit data (default) search as 16-bit data search as 32-bit data
chapter 6 window reference users manual u14891ej1v0um00 176 (b) this is a check box which specifies whether to search the whole specified region or not when conducting search. with the default, only the portion remaining in the range is searched. searches the remaining portion of the range (default). searches the whole range. (3) search direction specification area this area specifies the direction of search. two directions, upward and downward, can be selected. up: upward search. searches the data from the current cursor position toward the beginning (upward on display). down: downward search. searches the data from the current cursor position toward the end (downward on display). (4) search range specification area this is the area where the addresses being searched are specified. a symbol or expression can also be specified for the address specification. the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. function buttons searches for the specified search data in accordance with the conditions. as the search results, the matching character string is displayed in reverse highlight. if you are searching continuously, press this button again. sets the specified conditions as the search conditions and closes the dialog box. interrupts the search for data. during the data search, the button changes to the button. closes the memory search dialog box. during a data search, it changes to the button. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 177 memory fill dialog box modal general this dialog box initializes the memory contents with a specified code. opening method this dialog box can be opened in the following methods. in the main window select [edit] ? [m emory] ? [f ill ? ] from the menu bar. press the grph + e , m , and f keys in that order. window figure 6-38. memory fill dialog box function the memory fill dialog box consists of the following areas. address range specification area data specification area the function of each area is explained below. (1) address range specification area (2) data specification area
chapter 6 window reference users manual u14891ej1v0um00 178 (1) address range specification area this area specifies the address range of the memory contents to be initialized. a symbol or expression can also be specified for the address specification. the default radix when inputting numerical values is hexadecimal. specify the first address for initialization and then the end address, in that order. (2) data specification area this area specifies the data to be initialized. binary data strings (byte data strings) with up to 16 items of data can be specified. specify each item of data using a space as a delimiter. the default radix is hexadecimal and the radix can be specified for each item of data. function buttons initializes the memory contents. closes this dialog box. this button changes to the button during memory initialization. stops initializing the memory. the button changes to the button during memory initialization. returns the input data to the original value. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 179 memory copy dialog box modal general this dialog box copies the memory contents. opening method this dialog box can be opened in the following methods. in the main window select [edit] ? [m emory] ? [c opy ? ] from the menu bar. press the grph + e , m , and c keys in that order. window figure 6-39. memory copy dialog box function the memory copy dialog box consists of the following area. address range specification area the function of this area is explained below. (1) address range specification area (1) address range specification area
chapter 6 window reference users manual u14891ej1v0um00 180 this area specifies the copy source addresses and copy destination address. a symbol or expression can also be specified for the address specification. the default radix when inputting numerical values is hexadecimal. from: specifies the address range of the copy source. specify the copy source start address and copy source end address, in that order. to: specifies the start address of the copy destination. function buttons copies the memory contents. closes this dialog box. this button changes to the button while copying the memory. stops copying the memory data. the button changes to the button while copying the memory. returns the input data to the original value. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 181 memory compare dialog box modal general this dialog box compares the memory contents. opening method this dialog box can be opened in the following methods. in the main window select [edit] ? [m emory] ? [comp are ? ] from the menu bar. press the grph + e , m , and p keys in that order. window figure 6-40. memory compare dialog box function the memory compare dialog box consists of the following area. compare range specification area the function of this area is explained below. (1) compare range specification area (1) compare range specification area
chapter 6 window reference users manual u14891ej1v0um00 182 this area specifies the compare source addresses and compare destination addresses. a symbol or expression can also be specified for the address specification. the default radix when inputting numerical values is hexadecimal. mem1: specifies the address range of the compare source. specify the compare source start address and compare source end address, in that order. mem2: specifies the start address of the compare destination. function buttons compares the memory contents. if no difference is found as a result of comparison, a confirmation dialog box is displayed. if a difference is found, a memory compare result dialog box is opened. if no difference is found as a result of comparison, the confirmation dialog box is displayed. by clicking the button in this confirmation dialog box, the memory compare dialog box is closed. closes this dialog box. it changes to button during comparison. stops comparing the memory contents. the button changes to the button while comparing the memory contents. returns the input data to the original value. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 183 memory compare result dialog box modeless general this dialog box displays the result of comparing memory contents. this dialog box is opened if a discrepancy is found as a result of comparing the memory contents in the memory compare dialog box. if no discrepancy is found, this dialog box cannot be opened, but a confirmation dialog box is opened. window figure 6-41. memory compare result dialog box function the memory compare result dialog box consists of the following area. compare result display area the function of this area is explained below. (1) compare result display area
chapter 6 window reference users manual u14891ej1v0um00 184 (1) compare result display area this area displays the result of comparing memory contents. only this displays if a discrepancy is found as a result of comparing. mem1 addr: displays the compare source address at which a discrepancy is found as a result of comparing. memory: displays the data which that a discrepancy is found as a result of comparing. the compare source data is displayed on the left, and the compare destination data is displayed on the right. mem2 addr: displays the compare destination address at which a discrepancy is found as a result of comparing. function buttons closes this dialog box. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 185 dmm dialog box modeless general this dialog box sets the address and data with which to perform dmm (dynamic memory modification). the contents of the memory can be overwritten in real time during user program execution. opening method this dialog box can be opened by either of the following methods. during user program execution in the main window select [edit] ? [m emory] ? [dm m] from the menu bar. press the grph + e , m , and m keys in that order. window figure 6-42. dmm dialog box function this dialog box overwrites the contents of the memory in real time during user program execution. note, however, that because this function is realized by software emulation, the user program execution is temporarily stopped and then reexecuted. the dmm dialog box consists of the following areas. address setting area data setting area data size setting area the function of each area is explained below. (1) address setting area (2) data setting area (3) data size setting area
chapter 6 window reference users manual u14891ej1v0um00 186 (1) address setting area this area specifies the address to which data is written. it is possible to specify an address by a symbol or by expression. the specification method is the same as in the address move dialog box. the default radix when inputting numerical values is hexadecimal. (2) data setting area this area specifies data to be written to the memory address specified in the address setting area. only one string of binary data can be specified at the same time. the data size is specified in the data size setting area. the default radix is hexadecimal. (3) data size setting area this area specifies the size of the data to be written. byte: writes the data specified in the data setting area as 8-bit data. half word: writes the data specified in the data setting area as 16-bit data. word: writes the data specified in the data setting area as 32-bit data. function buttons writes the data. closes the dmm dialog box. returns the input data to its original value. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 187 cautions be aware of the following points when using the dmm function. the dmm (dynamic memory modification) function is performed after stopping the user program execution temporarily. when data is written to the address where a software break is set, the program may not operate correctly. when another break trigger is generated immediately before writing and the program is stopped, that generated break trigger becomes invalid because the program execution restarts regardless of the break trigger. the verification check is always invalid. it is impossible to write data to the area mapped to the rom emulation memory.
chapter 6 window reference users manual u14891ej1v0um00 188 watch window mdi child window general this window displays the specified data and changes it. opening method this window can be opened by either of the following methods. in the main window select [browse] ? [w atch] from the menu bar. press the grph + b , and w keys in that order. click the button on the toolbar. in the source window after selecting data, select [view] ? [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. click button. in the assemble window after selecting data, select [view] ? [vi ew watch] from the menu bar. press the grph + v , and i keys in that order. click button. in the quick watch dialog box click button. in the add watch dialog box click button.
chapter 6 window reference users manual u14891ej1v0um00 189 window figure 6-43. watch window 1 2 function displays and changes data. adding of the data display is done by selecting a variable name or symbol name in the source window or the assemble window and clicking button. adding is also done by dragging and dropping the selected part directly to the watch window with the mouse. adding can also be done by specifying a variable name or symbol name in the quick watch dialog box or the add watch dialog box and clicking . to delete a data display, click a variable name or symbol name (it is also possible to select multiple items using the shift key and the ctrl key), then after reverse highlighting it, click button. alternatively, make a selection using the arrow keys, then after reverse highlighting your selection delete it by pressing the del key. data value update results and rewrites are reflected in the memory window. also, wide area data (such as global variables or public symbols) allocated to real-time ram monitor area note can be displayed in real-time even while user program is executed, just as in the memory window. the boundary line between the symbol name display area and data value display/setting area can be moved to the left or right using the mouse. to move the boundary, drag the mouse cursor at the point when it changes from to ? . note sets in the extended option dialog box. the watch window consists of the following areas. symbol name display area data value display/setting area (1) symbol name display area (2) data value display/setting area
chapter 6 window reference users manual u14891ej1v0um00 190 each function is explained below. (1) symbol name display area this area displays variable names, symbol names, and the tag names of their type or structure/union. whether the latter is displayed or not can be selected in the debugger option dialog box. the default is no display. if the variable name is prefixed with & when registered in the add watch dialog box, the address to which that variable is allocated can be displayed. a + is displayed in front of arrays, pointer type variables, and structures/unions. these variables are expanded and displayed as shown below by double-clicking them; for an array, all the elements of the variable are displayed in accordance with the type of array variable. for pointer type variables, the data indicated by the pointer is displayed. for structures/unions, all the members of the structure/union are displayed in accordance with the type of member variable. however, if a structure/union is defined within a structure/union, the members up to the tag name or variable name in the internal structure/union are displayed. for variables which have been expanded and displayed, the + display is changed to a C display. if they are double-clicked in this state, the expansion display is deleted. note that variables with a + that are displayed inside a structure/union are expanded and displayed in the same way by double-clicking them. to expand and display, or to delete an expansion display, select the variable with the arrow keys, then press the enter key. data which has become invalid due to the changing of the scope or optimization compilation are displayed in gray. data other than global data (global variables, public symbols, etc.) allocated within the real-time ram monitor range is displayed in gray.
chapter 6 window reference users manual u14891ej1v0um00 191 (2) data value display/setting area this area is where data values are displayed and changed. when the variable is a structure/union or an & is appended, the address is displayed. when the variable is an enumeration type, the member name is displayed. when the variable is a floating point, it is displayed as follows. [+|C] inf [+|C] nan [+|C] integer portion e [+|C] exponent [+|C] integer portion. decimal portion [e [+|C] exponent] the radix and size of data values can be selected on an individual variable basis using the view menu. note, however, that if the size in which c variables, assembler bit symbols, and registers (etc.) are displayed is fixed, the display size cannot be selected. if [view] ? [a daptive], [v iew] ? [p roper] has been selected, data is displayed using the radix and size specified in the debugger option dialog box. size byte displayed in 8 bits (default) halfword displayed in 16 bits word displayed in 32 bits radix (xxxx are numerals) hex hexadecimal (0xxxxx) dec decimal (xxxx) oct octal (0xxxx) bin binary (0bxxxx) string character string
chapter 6 window reference users manual u14891ej1v0um00 192 values are updated when execution is stopped. if you desire to save values, select [file] ? [save a s] in the main window, then save the displayed file. also, if the acquisition of data values has failed, this area will be blank. a question mark ? is displayed for data which has been invalid due to the changing of the scope or optimized compilation. in addition, a ? is displayed for data except wide area data (such as global variables or public symbols) allocated to real-time ram monitor area. the contents of changes are written to the target by pressing the enter key. the contents prior to the change can be erased using the esc key. function buttons opens the add watch dialog box. in the add watch dialog box, if the data is specified and button is clicked, the specified data is added to the watch window. deletes the specified data from the watch window. the del key also performs this operation. moves the selected data one line up. moves the selected data one line down. updates the contents of the window with the latest data. closes the watch window.
chapter 6 window reference users manual u14891ej1v0um00 193 quick watch dialog box modal general this is where the specified data is temporarily displayed and changed. opening method this dialog box can be opened by any of the following methods. in the main window select [view] ? [q uick watch] from the menu bar. press the grph + v , and q keys in that order. in the source window click the button in the source window. press the shortcut keys ctrl + w . in the assemble window click the button in the assemble window. press the shortcut keys ctrl + w . window figure 6-44. quick watch dialog box (5) display size select area (4) display radix select area (1) symbol specification area (2) symbol name display area (6) number of display items specification area (3) data value display/setting area
chapter 6 window reference users manual u14891ej1v0um00 194 functions in this dialog box the specified data is temporarily displayed and changed. the boundary between the symbol name display area and the data value display/setting area can be moved to the left or right using the mouse. to move the boundary, drag the mouse cursor at the point when it changes form to ? . the quick watch dialog box consists of the following areas. symbol specification area symbol name display area data value display/setting area display radix select area display size select area number of display items specification area each function is explained below. (1) symbol specification area this is where the data to be displayed is specified. in the default setting, the string selected in the accessed window is displayed, but as necessary, it is also possible to change it by inputs from the keyboard. however, if the selected string does not exist, this area becomes blank. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. when the contents of the symbol specification area have been changed, clicking button causes the data specified in the symbol specification area to be displayed in the symbol name display area and data value display/setting area.
chapter 6 window reference users manual u14891ej1v0um00 195 (2) symbol name display area in this area the variable names or symbol names are displayed. however, data which has becomes invalid due to the changes of the scope or optimization compilation are not displayed. (3) data value display/setting area in this area the data values are displayed. the display contents and the way to change the contents are the same as in the watch window.
chapter 6 window reference users manual u14891ej1v0um00 196 (4) display radix select area the radix to be displayed is selected from the drop-down list. the radix of the data name selected in the symbol name display area is changed. proper: in the case of a variable, the v alue specified for each variable is displayed. in the case of a symbol, it is displayed in the radix set in the debugger option dialog box. hex: displayed in hexadecimal (0xxxxx). dec: displayed in decimal (xxx). oct: displayed in octal (0xxx). bin: displayed in binary (0bxxx). string: displayed as a character string. (5) display size select area the size to be displayed is selected from the drop-down list. the size of the data selected in the symbol name display area is changed. adaptive: in the case of a variable, the v alue specified for each variable is displayed. in the case of a symbol, the size set in the debugger option dialog box is displayed. byte: displayed in 8 bits. half word: displayed in 16 bits. word: displayed in 32 bits. if the display size of variables, or assembler bit, symbols or registers, etc. in the c language is fixed, the display size cannot be selected. (6) number of display items specification area in this area the number of data to be displayed is specified. specify blank or a number 1 to 256. the default is blank. if blank, the data is displayed as a simple variable. if a number 1 or greater is specified, it is displayed as an array variable. in this case, a + is displayed in front of the data. by double-clicking these data, all the elements of the data are expanded and displayed in accordance with the data type. + of the expanded and displayed data changes to C. double-clicking in this state cancels the expanded display. if the display number of variables, assembler bit symbol, or registers, etc. in the c language is fixed, the display number cannot be specified.
chapter 6 window reference users manual u14891ej1v0um00 197 function buttons displays the data specified in the symbol specification area in the symbol name display area and the data value display/setting area. adds the data specified in the symbol specification area to the watch window. closes this dialog box. change contents that have not actually been written to the target are erased.
chapter 6 window reference users manual u14891ej1v0um00 198 add watch dialog box modal general this is where data to be displayed in the watch window is registered. opening method this dialog box can be opened by either of the following methods. in the main window select [view] ? [add w atch] from the menu bar. press the grph + v , and w keys in that order. in the watch window click the button in the watch window. window figure 6-45. add watch dialog box functions the add watch dialog box consists of the following areas. symbol specification area display radix select area display size select area number of display items specification area the function of each area is explained below. (1) symbol specification area (2) display radix select area (4) number of display items specification area (3) display size select area
chapter 6 window reference users manual u14891ej1v0um00 199 (1) symbol specification area specify the data to be viewed in the watch window. in the default setting, the string selected in the accessed window is displayed, but as necessary, it is also possible to change it by inputs from the keyboard. however, if the selected string does not exist, this area becomes blank. by clicking the button and displaying the input history, the contents input previously can be reused. up to 16 items of input history can be retained. the expressions that can be used for inputting data are as shown below. c language variable name (variable expression: variable name) variable expression [decimal constant values]: array elements variable expression. member name: structure/union actual member variable expression ? member name: member of structure/union that indicates a pointer *variable expression: value of pointer variable & variable: address which a variable was arranged register name ior name, ior bit name label and immediate address register name.bit label name.bit.bit, immediate address.bit bit symbol (2) display radix select area this area is where the display radix is selected. the display radix can be selected from among the following (xxx is a number). proper: in the case of a variable, the value specified for each variable is displayed. in the case of a symbol, it is displayed in the radix set in the debugger option dialog box. hex: displayed in hexadecimal (0xxxx). dec: displayed in decimal (xxx). oct: displayed in octal (0xxx). bin: displayed in binary (0bxxx). string: displayed as a character string.
chapter 6 window reference users manual u14891ej1v0um00 200 (3) display size select area this area is where the display size is selected. the display size can be selected from among the following. adaptive: in the case of a variable, the value specified for each variable is displayed. in the case of a symbol, the size set in the debugger option dialog box is displayed. byte: displayed in 8 bits. half word: displayed in 16 bits. word: displayed in 32 bits. if the display size of variables, or assembler bit symbols or registers, etc. in the c language is fixed, the specified size is displayed in the watch window regardless of the specified display size. (4) number of display items specification area in this area the number of data to be displayed is specified. specify blank or a number 1 or greater (1 to 256). the default is blank. if blank, the data is displayed as a simple variable. if a number 1 or greater is specified, it is displayed as an array variable. in this case, a + is displayed in front of the data. by double-clicking these data, all the elements of the data are expanded and displayed in accordance with the data type. + of the expanded and displayed data changes to C. double-clicking in this state releases the expanded display. if the display number of various assembler bit symbol, or registers, etc. in the c language is fixed, the display number cannot be specified. function buttons adds the specified data to the watch window. does not close the add watch dialog box. after adding the specified data to the watch window, it closes the add watch dialog box. returns the input data to its source. closes the add watch dialog box. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 201 register window mdi child window general this window displays and changes the contents of the registers (program registers and system registers). opening method this window can be opened in the following methods. in the main window select [browse] ? [r egister] from the menu bar. press the grph + b , and r keys in that order. click the button on the toolbar. window figure 6-46. register window function this window displays and changes the contents of registers (program registers and system registers). the register to be displayed can be selected in the register select dialog box. (1) program register display area (2) system register display area
chapter 6 window reference users manual u14891ej1v0um00 202 the register window consists of the following areas. program register display area system register display area the boundary line between the program register display area and system register display area can be moved up or down using the mouse. to move the boundary, drag the mouse cursor at the point when it changes from to ? . the function of each area is explained below. (1) program register display area this area displays or changes the contents of the program registers. the contents can be written to the target memory by pressing the enter key. the contents prior to the change can be erased using the esc key. in addition, this area has a jump function that jumps to the source window, assemble window, or memory window by using a selected program register value as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in the sequential order. <1> select the displayed register value. <2> perform either of the following operations in the main window. if the jump destination window is the source window. select [jump] ? [s ource] from the menu bar. press grph + j , and s keys in that order. press the shortcut keys ctrl + u . if the jump destination window is the assemble window. select [jump] ? [a ssemble] from the menu bar. press grph + j , and a keys in that order. press the shortcut keys ctrl + d . if the jump destination window is the memory window. select [jump] ? [me mory] from the menu bar. press grph + j , and e keys in that order. press the shortcut keys ctrl + m .
chapter 6 window reference users manual u14891ej1v0um00 203 (2) system register display area this area displays or changes the contents of the system registers. the contents can be written to the target memory by pressing the enter key. the contents prior to the change can be erased using the esc key. the flag names and flag values of the register to which + is prefixed are displayed by double-clicking the register name. + then changes to - . switching can also be done by selecting a register name using the arrow keys then pressing the enter key. in addition, this area has a jump function as a jump pointer. operation of the jump function is the same as in the case of the program register. function buttons updates the contents of the window to the latest data. closes this window.
chapter 6 window reference users manual u14891ej1v0um00 204 register select dialog box modal general this dialog box selects the registers that are not displayed in the register window. opening method this dialog box can be opened in the following methods when the current window is the register window. in the main window select [view] ? [se lect] from the menu bar. press the grph + v , and e keys in that order. window figure 6-47. register select dialog box function the register select dialog box consists of the following area. display register select area the function of this area is explained below. (1) display register select area
chapter 6 window reference users manual u14891ej1v0um00 205 (1) display register select area select the registers that are to be displayed on the register window, and the registers that are not to be displayed. the registers displayed in the register window are shown on the [display:] list, and the registers not displayed are shown on the [no display:] list. the registers displayed or not displayed in the register window can be changed by selecting a register name from these lists and by clicking the << show or hide >> button. if all the registers are to be displayed, click the << sho w all button. if all the registers are to be hide, click the hide all >> button. the function of each button is explained below. << show moves the register selected in the [no displ ay:] area to the cursor position in the [display:] list area. hide >> moves the register selected in the [disp lay:] list area to the [no displ ay:] area. << show all moves all the registers to the cursor position in the [disp lay:] list area. hide all >> moves all the registers to [no displ ay:] area. two or more peripheral i/o registers and i/o ports can be selected by clicking the mouse while pressing the ctrl or shift key when selecting a register from the [display:] list or [no displ ay:] list. function buttons reflects the result of selection and specification of display order in the register window and closes the register select dialog box. cancels the change and restores the original setting and closes this dialog box. cancels the change and restores the original setting. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 206 ior window mdi child window general this window displays and changes the contents of the peripheral i/o registers. also, the entered i/o port registered in the add i/o port dialog box can be viewed and changed. opening method this window can be opened in the following methods. in the main window select [browse] ? [i/o reg ister] from the menu bar. press the grph + b , and g keys in that order. click the button on the toolbar. window figure 6-48. ior window function this window displays or changes the contents of peripheral i/o registers or i/o ports registered in the add i/o port dialog box. the ior window consists of the following areas. peripheral i/o register name display area attribute display area peripheral i/o register contents display area the function of each area is explained below. (1) peripheral i/o register name display area (2) attribute display area (3) peripheral i/o register contents display area
chapter 6 window reference users manual u14891ej1v0um00 207 (1) peripheral i/o register name display area this area displays the names of the peripheral i/o registers and i/o port name. for types corresponding to programmable i/o register for which programmable i/o area is set in the configuration dialog box, programmable i/o register is also displayed. the bit name and bit values of the peripheral i/o register to which + is prefixed are displayed by double- clicking the peripheral i/o + then changes to C register name. switching can also be done by selecting a peripheral i/o name using the arrow keys then pressing the enter . key. if the i/o port address is an undefined value, the i/o port name is displayed in gray. (2) attribute display area this area displays read/write attributes, access types, and absolute addresses of each peripheral i/o register and i/o port. selection of whether to display the attribute display area can be made by selecting [view] ? [at tribute] from the menu bar. the following read/write attributes are displayed. r(*): read-only peripheral i/o register or i/o port w(*): write-only peripheral i/o register or i/o port r/w(*): read/write peripheral i/o register or i/o port peripheral i/o registers with an asterisk (*) affixed to their attribute indicate registers that read the data copy via the emulation register when reading. to read data directly from these registers, select [view] ? [c ompulsion read] from the menu bar. this function is not supported in all devices. the following access types are displayed. 1: peripheral i/o register that can be accessed in bit units 8: peripheral i/o register or i/o port that can be accessed in byte units 16: peripheral i/o register or i/o port that can be accessed in half word units 32: peripheral i/o register or i/o port that can be accessed in word units
chapter 6 window reference users manual u14891ej1v0um00 208 (3) peripheral i/o register contents display area this area displays and changes the contents of the peripheral i/o registers or i/o ports. the contents are displayed as follows, depending on the attributes of the registers or i/o ports. ? read-only peripheral i/o register or i/o port: displayed in black ? write-only peripheral i/o register or i/o port: -- is displayed ? read/write peripheral i/o register or i/o port: displayed in black ? peripheral i/o register or i/o port whose value changes when read: ** is displayed the contents can be written to the target by pressing the enter key. the contents prior to the changes can be erased using the esc key. the value of a read-protected peripheral i/o register can be read by executing [view] ? [c ompulsion read] on the menu bar. function buttons updates the contents of the window to the latest data. closes this window.
chapter 6 window reference users manual u14891ej1v0um00 209 ior select dialog box modal general this dialog box is used to select a peripheral i/o register or i/o port that is not being displayed in the ior window. the display order is also set here. opening method this window can be opened in the following methods when the current window is the ior window. in the main window select [view] ? [se lect] from the menu bar. press the grph + v , and e keys in that order. figure 6-49. ior select dialog box functions the ior select dialog box consists of the following areas. display peripheral i/o register select area display order specification buttons no display list sort buttons the function of each area is explained below. (1) display peripheral i/o register select area (2) display order specification buttons (3) no display list sort buttons
chapter 6 window reference users manual u14891ej1v0um00 210 (1) display peripheral i/o register select area select the peripheral i/o registers and i/o ports that are to be displayed on the ior window, and the peripheral i/o registers and i/o ports that are not to be displayed. the peripheral i/o registers and i/o ports displayed in the ior window are shown on the [display:] list, and the peripheral i/o registers and i/o ports not displayed are shown on the [no display:] list. the peripheral i/o registers and i/o ports displayed or not displayed in the ior window can be changed by selecting a peripheral i/o register name or i/o port name from these lists and by clicking the << show or hide >> button. if all the registers and i/o ports are to be displayed, click the << sho w all button. if all the registers and i/o ports are to be hide, click the hide all >> button. the function of each button is explained below. << show moves the peripheral i/o registers and i/o ports selected in the [no displ ay:] area to the cursor position in the [display:] list area. hide >> moves the peripheral i/o registers and i/o ports selected in the [disp lay:] list area to the [no display:] area. << show all moves all the peripheral i/o registers and i/o ports to the cursor position in the [display:] list area. hide all >> moves all the peripheral i/o registers and i/o ports to [no displ ay:] area. two or more peripheral i/o registers and i/o ports can be selected by clicking the mouse while holding down the ctrl key or shift key when selecting a peripheral i/o register or i/o port from the [display:] list or [no display:] list.
chapter 6 window reference users manual u14891ej1v0um00 211 (2) display order specification buttons these set the order in which the [display:] list is displayed. the peripheral i/o register or i/o port selected in the [display:] list moves to the top line of the list when button is clicked and moves to the bottom line of the list when button is clicked. it also moves one line up when button is clicked and one line down when button is clicked. the functions of each button are as shown below. moves the peripheral i/o register or i/o port selected in the [display:] list to the top line of the list. moves the peripheral i/o register or i/o port selected in the [display:] list one line up. moves the peripheral i/o register or i/o port selected in the [display:] list one line down. moves the peripheral i/o register or i/o port selected in the [display:] list to the bottom line of the list. (3) no display list sort buttons select the order in which the a [no display:] list is displayed. when button is clicked, the items are displayed in alphabetical order, and when button is clicked, the items are displayed in address order. the functions of each button are as shown below. displays the [no display:] list in alphabetical order. displays the [no display:] list in address order.
chapter 6 window reference users manual u14891ej1v0um00 212 function buttons after the selection results and the specified display order are reflected in the ior window, clicking this button closes the ior select dialog box. cancels the change and closes this dialog box. cancels the change and restores the original states. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 213 add i/o port dialog box modal general this is where an i/o port to be added to the ior window is registered. opening method this dialog box can be opened in either of the following methods. in the main window select [option] ? [add i/o p ort] from the menu bar. press grph + o , and p keys in that order. window figure 6-50. add i/o port dialog box functions the add i/o port dialog box consists of the following areas. i/o port select area i/o port name specification area i/o port address specification area access size specification area access attributes specification area the functions of each area are explained below. (2) i/o port name specification area (3) i/o port address specification area (1) i/o port select area (4) access size specification area (5) access attributes specification area
chapter 6 window reference users manual u14891ej1v0um00 214 (1) i/o port select area this area is where a list of the currently entered i/o ports is displayed. if you enter a new i/o port, it is added to this list. you can also select an i/o port that has already been entered and change or delete it. (2) i/o port name specification area this is where the name of the i/o port to be added is specified. an i/o port name with up to 15 characters can be specified. (3) i/o port address specification area this is where the i/o port address to be added is specified. addresses which can be specified are those in the target area or ior area. address specification can be done by specifying a symbol or expression. the specification method is the same as in the case of the address move dialog box. the default radix when inputting numerical values is hexadecimal. (4) access size specification area this is where the access size of the added i/o port is specified. 8 bits (default) 16 bits 32 bits
chapter 6 window reference users manual u14891ej1v0um00 215 (5) access attributes specification area this is where the access attributes of the added i/o port are specified. sets exclusive read only. sets exclusive write only. sets read protect. in the default (all unchecked state), read and write are both enabled. function buttons after reflecting the add results in the ior window, this button closes the add i/o port dialog box. cancels the change and closes this dialog box. cancels the change and restores the original states. opens the help window. adds the i/o port with the specified address. changes the settings for the selected i/o port. deletes the selected i/o port.
chapter 6 window reference users manual u14891ej1v0um00 216 local variable window mdi child window general this window displays or changes the local variable in the current function. opening method this window can be opened in the following methods. in the main window select [browse] ? [l ocal variable] from the menu bar. press the grph + b , and l keys in that order. click the button on the toolbar. window figure 6-51. local variable window function this window displays or changes the local variable. this window automatically displays the local variable in the current function. variables cannot be add or deleted. the boundary line between the local variable name display area and local variable value display/setting area can be moved to the left or right by the mouse. the boundary can be moved by dragging when the mouse cursor changes from to . (1) local variable name display area (2) local variable value display/setting area
chapter 6 window reference users manual u14891ej1v0um00 217 the local variable window consists of the following areas. local variable name display area local variable value display/setting area each function is explained below. (1) local variable name display area this area displays local variable names. the type and variable name are shown. these are displayed in the same way as in the watch window. also, it is possible to have an expansion display like in the watch window. however, variable names that have become invalid due to optimization compilation, etc., are not displayed. the auto variable, internal static variable and the register variable can be displayed. (2) local variable value display/setting area this area displays/changes local variable values. the variable value is displayed in the same way as in the watch window. change contents are written to the target by pressing the enter key. the contents prior to the change can be erased using the esc key. function buttons updates the contents of the window to the latest data. closes this window.
chapter 6 window reference users manual u14891ej1v0um00 218 stack window mdi child window general this window displays and changes the current stack contents of the user program. opening method this window can be opened in the following methods. in the main window select [browse] ? [stack trace] from the menu bar. press the grph + b , and k keys in that order. click the button on the toolbar. window figure 6-52. stack window function this is where the stack contents are displayed and changed. if the full traced contents cannot be displayed, a vertical scroll bar is displayed so that the contents can be scrolled. the boundary between the stack frame contents display area and the stack contents display/setting area can be moved to the left or right by the mouse. to move the boundary, drag the mouse cursor at the point when it changes form to ? . (1) stack frame number display area (2) stack frame contents display area (3) stack contents display/setting area
chapter 6 window reference users manual u14891ej1v0um00 219 this window consists of the following areas. stack frame number display area stack frame contents display area stack contents display/setting area the function of each area is explained below. (1) stack frame number display area this area displays the stack frame numbers. the stack frame number is a natural number starting from 1, and the shallower the stack nest is, the larger this number becomes. a stack number that is 1 larger than a certain function is the calling function of that function. (2) stack frame contents display area this area is where the stack frame contents are displayed. the function or local variable names are displayed. if the stack contents are functions, they is displayed by [program name $ file name # function name (index list) # line no.]. the delimiter between the program name and the file name is a $ and the delimiter between the file name and the function name is a #. the # is also used as the delimiter between the function name and the line no. if there are local variables in a function, the local variables are displayed on the following and subsequent lines. if the contents of the stack are local variables, the type and variable name is displayed. they are displayed in the same way as in the watch window. note that internal static variables and register variables are not displayed.
chapter 6 window reference users manual u14891ej1v0um00 220 (3) stack contents display/setting area this area displays and changes the contents of the stack. C or local variable values are displayed. if the stack contents are functions, a C is displayed and the contents cannot be changed. if the stack contents are local variables, the variable values are displayed. variable values are displayed in the same way as in the watch window. it is possible to change variable values. changed contents are written to the target by pressing the enter key. the contents prior to the change can be erased using the esc key. other than displaying the stack contents, this area has the following functions. (a) jump function jumps to the source window, assemble window, or memory window by using the function indicated by the stack frame number at the cursor position as a jump pointer. the jump destination window displays the jump pointer at the beginning. this function is executed by performing the following operations in the sequential order. <1> position the cursor in the stack contents display/setting area. <2> perform one of the following operations on the main window. if the jump destination is the source window select [jump] ? [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . if the jump destination is the assemble window select [jump] ? [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . if the jump destination is the memory window select [jump] ? [me mory] from the menu bar. press the grph + j , and e keys in that order. press the shortcut keys ctrl + m .
chapter 6 window reference users manual u14891ej1v0um00 221 details of the jump destination are as follows. table 6-22. details of jump function type of function description of operation if the jump destination is the source window, it jumps to the current pc line. in the case of the current function if the jump destination is other than the source window, it jumps to the current pc address. if the jump destination is the source window, it jumps to the line where the function nested is called. in the case of a function other than the current function if the jump destination is other than the source window, it jumps to the next address of the instruction that is calling the function nested. function buttons updates the contents of the window to the latest data. closes this window. cautions (1) if the stack trace display function has a function that does not generate a stack frame, it may not be displayed correctly. (2) [error] may be displayed during function prologue processing or epilogue processing.
chapter 6 window reference users manual u14891ej1v0um00 222 trace view window mdi child window general this window displays the trace results. this windows is valid only for cpu cores with the trcu incorporated. opening method this window can be opened in the following methods. in the main window select [browse] ? [t race] from the menu bar. press the grph + b , and t keys in that order. click the button on the toolbar. window figure 6-53. trace view window (1) point mark display area (3) trace result display area (2) trace mode display area
chapter 6 window reference users manual u14891ej1v0um00 223 functions this is where the trace results are displayed. the vertical scroll bar is displayed at all times and the contents can be scrolled. it is also possible to move up one page or down one page using the button or button. the trace view window can be opened only in the active state and the windows display is updated in a break or during step execution. the tracer has a ring structure. for that reason, if data exceeding a valid frame is written, whether to overwrite the oldest data or stop the tracer at that point can be selected by selecting [run] ? [tracer control mode]. also, in the display, the frames are displayed in frame order with the oldest data as frame 0. to clear the trace contents, select [option] ? [t race] ? [c lear]. a tracer is made valid by selecting [option] ? [tracer on ]. note that, operation with respect to a tracer during program execution is performed by selecting [run] ? [trac er start/close]. the trace view window consists of the following areas. point mark display area trace mode display area trace result display area the function of each area is explained below. (1) point mark display area this is where the setting states of various events are displayed. if an execution event or access event is set to the corresponding trace event, the mark corresponding to the type of the event is displayed. note that the marks displayed are not marks from tracing but are event marks set when the trace results are displayed. for details, refer to table 6-17 meaning of event display mark .
chapter 6 window reference users manual u14891ej1v0um00 224 (2) trace mode display area this is where the type of trace mode is displayed. the display contents are as follows. t: delay trigger frame n: frame in which not all the lost data was traced (3) trace result display area a b c e d this is where the trace results are displayed. if this area is selected, the jump function and the window linking function can be used. the following contents are displayed in the trace results display area. note that display or non-display of each area can be selected in the trace data select dialog box. trace frame number display time tag display fetch operation access display data operation access display mnemonic display (a) trace frame number display (frame) this is where the trace frame number is displayed. however, complemented frames note other than branch frames and access frames do not have frame numbers and this area is left blank. note a function to embed a dummy fetch frame in between branch frames.
chapter 6 window reference users manual u14891ej1v0um00 225 (b) time tag display (time) this area displays the number of clocks required for the target chip from the execution start of the program to the execution start of an instruction of each frame or generation of memory access cause is displayed. if add up timetag is checked, an accumulate display is shown. however, complemented frames other than branch frames and access frames do not have time tag display and this area is left blank. the time tag display can be switched between clock count display and time display in the trace view select dialog box. (c) fetch operation access display (address data status) this is where the fetch result of the program is displayed. this field is displayed as follows depending on the status displayed in the status display field (status). table 6-23. contents of fetch operation access display item display contents brm1 the first byte fetch of the first instruction after branching m1 the first byte fetch of the instruction status blank program fetch display 6th byte and 8th byte fetch of the instruction if 6-byte long and 8-byte long instruction codes are displayed, the top 4 bytes are displayed in the first frame, and the remaining bytes are displayed in the second frame and third frame. also, if 2 instructions are executed simultaneously, 1 frames display becomes 2 lines, the instruction code in the lower address side is displayed in the first line, and the instruction code in the higher address side is displayed in the second line. in the case of the program fetch display, the display is as follows. table 6-24. contents of program fetch display item display contents address fetch address display data fetch data display (d) data operation access display (address data status) this is where the access result of data is displayed. table 6-25. contents of data operation access display items display contents r data read status w data write
chapter 6 window reference users manual u14891ej1v0um00 226 (e) mnemonic display (disasm) this is where the disassemble result is displayed. this is displayed only when the status of the fetch operation access display is brm1 or m1. if the instruction code which execute two instructions at a time is displayed, one instruction is displayed in the first line, and another executed at the same time is displayed in the second line. the jump function and window linking function are detailed below. jump function window link function <1> jump function the jump function is executed by performing the following operations in order. (i) move the cursor to the jump source line. (ii) in the main window, do either of the following operation. if the jump destination window is the source window select [jump] ? [s ource] from the menu bar. press the grph + j , and s keys in that order. press the shortcut keys ctrl + u . if the jump destination window is the assemble window select [jump] ? [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press the shortcut keys ctrl + d . if the jump destination window is the memory window select [jump] ? [me mory] from the menu bar. press the grph + j , and e keys in that order. press the shortcut keys ctrl + m . the address used as the jump source changes according to the cursor position. caret position jump pointer access address display area access address note access data display area access address note access status display area access address note other than above fetch address note if the jump destination is the source window or the assemble window, the fetch address is always made the jump pointer.
chapter 6 window reference users manual u14891ej1v0um00 227 <2> window link function the window link function can be used by performing the following operations in order. (i) make the trace view window the current window and select the window that you would like to link with from among the items in [view] ? [window syn chronize] on the menu bar. table 6-26. window link function items in [window synchronize] window to be linked source source window assemble assemble window memory memory window (ii) move the cursor to the link origin line in the trace results display area in the trace view window. if the window you would like to link with is not open in the active state, it will open in the active state. (iii) the trace results address selected in (ii) is used as the pointer, and the linked contents are displayed in the corresponding window selected in (i), or the cursor is positioned there. in the case of window linking as well, the address which is the link origin changes as follows in accordance with the cursor position. cursor position jump pointer access address display area access address note access data display area access address note access status display area access address note other than above fetch address note if the linking source is the source window or the assemble window, the fetch address is always made the jump pointer. unlike the jump function, if the cursors position is moved in the trace view window, the window linking function moves the reverse video in each linked window. function buttons cannot be selected. cannot be selected. cannot be selected. updates the contents of the window with the latest data. close this window.
chapter 6 window reference users manual u14891ej1v0um00 228 trace data select dialog box modal general this dialog box selects the items to be displayed in the trace view window. this dialog box is valid only for cpu cores with the trcu incorporated. opening method this dialog box can be opened in the following methods when the current window is the trace view window. in the main window select [view] ? [se lect] from the menu bar. press the grph + v , and e keys in that order. window figure 6-54. trace data select dialog box function the trace data select dialog box consists of the following areas. trace display item select area trace display radix select area the function of each area is explained below. (1) trace display item select area (2) trace display radix select area
chapter 6 window reference users manual u14891ej1v0um00 229 (1) trace display item select area this is where the items to be displayed in the trace view window are selected. the following items can be selected to be displayed or not displayed. if there is a check mark, that area is displayed. frame: frame no. display field timetag: time tag display field clock: clock display (default) time: time display instruction fetch address: fetch address display field instruction fetch data: fetch data display field instruction fetch status: fetch status display field memory access address: access address display field memory access data: access data display field memory access status: access status display field disassemble: disassemble display field (2) trace display radix select area this is where the radix to be displayed is selected. the display radix can be selected for the following items. instruction fetch data: fetch data display field memory access data: access data display field the display radix can be selected from the following. hex: displayed in hexadecimal dec: displayed in decimal oct: displayed in octal bin: displayed in binary
chapter 6 window reference users manual u14891ej1v0um00 230 function buttons reflects the result of selection in the trace view window. closes this dialog box. cancel the change and restore the original setting. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 231 trace option dialog box modal general this dialog box makes various settings related to trace such as the trace fetch mode setting and trace data selection. this dialog box is valid only for cpu cores that incorporate the trcu. opening method in the main window select [option] ? [t race] ? [trace o ption] from the menu bar. press the grph + o , t , and o keys in that order. window figure 6-55. trace option dialog box (1) trace mode specification area (2) trace data select area (3) access data address setting area (4) execution trace data select area
chapter 6 window reference users manual u14891ej1v0um00 232 function this dialog box sets the trace mode, selects the trace data, and specifies the data trace range. the trace option dialog box consists of the following areas. trace mode specification area trace data select area access data address setting area execution trace data select area the function of each area is explained below. (1) trace mode specification area this area selects the mode in which the trace data is fetched. select from the following two modes. realtime mode: real-time trace mode. traces the cpu execution in real time. note, however, that not all the trace data may be fetched, depending on the program or trace trigger. non realtime mode: non real-time trace mode. this is the all trace mode. if some trace data is likely to be lost, the cpu execution is temporarily stopped internally, and all the trace data is properly fetched. (2) trace data select area this area specifies the trace data to be fetched. execution data: execution data. traces the branch source set in the execution trace data select area. this makes it possible to ascertain the program execution flow. access data: access data. traces the data access to the specified address. traces the data access cycle in the address range specified in the data trace address setting area.
chapter 6 window reference users manual u14891ej1v0um00 233 (3) access data address setting area this area specifies the address where the access data trace is performed. inputting to this area is possible only when access data is selected in the trace data select area. up to 2 addresses can be set and the address and size must be specified. note, however, that the address2 setting is ignored when section trace conditions are enabled (section trace conditions are set and [run] menu ? [con d. trace on] is selected). address1, address2: any address can be set to the address area, but after setting, the address will be aligned with addresses set in 1 kb units (lower addresses: 000, 400, 800, c00). size1, size2: the following values can be selected for the size area (unit byte). 4, 8, 16, 32, 64, 128, 256, 512, 1024 (4) execution trace data select area this area selects the trigger to start an execution trace from amongst the program execution branch triggers. inputting to this area is possible only when execution data is selected in the trace data select area. the trace triggers that can be selected are divided into the following two types. before branch area: if the checked trigger in this area is an instruction of the branch origin, this instruction is fetched as trace data. after branch area: if the checked trigger in this area is an instruction of the branch origin, this instruction is fetched as trace data.
chapter 6 window reference users manual u14891ej1v0um00 234 the check items and their meanings are as follows. the trace data to be fetched consists only of branch triggers selected in this area. if the number of fetched triggers to be fetched is small, trace data supplementation may not be performed correctly. table 6-27. trace triggers of execution trace data item meaning callt branch by callt instruction ctret branch by ctret instruction switch branch by switch instruction jarl branch by jarl instruction jr branch by jr instruction jmp branch by jmp instruction dispose branch by dispose instruction reti branch by reti instruction bcond(taken) branch by conditional branch instruction (when condition is satisfied) bcond(not taken) branch by conditional branch instruction (when condition is not satisfied) interrupt an interrupt (nmi/int) is generated. exception an exception occurs. function buttons closes this dialog box after setting the specified trace mode, trace data, and trace address. closes this dialog box without setting the specified trace mode, trace data, and trace address. returns the trace option dialog box to the original setting status before it was opened. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 235 event manager mdi child window general this window displays, enables/disables and deletes various events. through manipulation in this window, the event conditions registered in the event dialog box or event link dialog box can be allocated to break event or trace event note . note the trace function is valid only for cpu cores with the trcu incorporated. opening method this window can be opened in the following methods. in the main window select [event] ? [event m anager] from the menu bar. press the grph + n , and m keys in that order. click the button from the toolbar. in the source window moves the cursor to the source line in the source text display area where the event is set, or to the disassemble line in case of the mixed display mode, and carry out either of the following methods. select [view] ? [e vent?] from the menu bar. press the grph + v , and e keys in that order. in the assemble window moves the cursor to the line in the mnemonic display/change area where the event is set, and carry out either of the following methods. select [view] ? [e vent?] from the menu bar. press the grph + v , and e keys in that order. in the event dialog box click the button. press the shortcut keys grph + g . in the set other dialog box click the button. press the shortcut keys grph + m .
chapter 6 window reference users manual u14891ej1v0um00 236 window figure 6-56. event manager in list display mode in detailed display mode function this window displays, enables/disables, and deletes various events and manages event conditions for registering or setting various event conditions (such as event link conditions, break event conditions, and trace event conditions note ). the event manager consists of the following areas. event display area event detail display area note the trace function is valid only for cpu cores with the trcu incorporated. the function of each area is explained below. (1) event display area (2) event detail display area (1) event display area
chapter 6 window reference users manual u14891ej1v0um00 237 (1) event display area in list display mode in detailed display mode in the event display area, icons (event icons) for various types of event conditions of the registered event, event link, break, and trace note are displayed. the icon of the event condition consists of a mark indicating the type of each event condition and an event name. the switching list/detailed display mode in the event display area can be changed by the event info dialog box which is opened by the [view] menu or the button in the event manager. note the trace function is valid only for cpu cores with the trcu incorporated. the marks are listed below. table 6-28. event icon marks mark meaning indicates event condition indicates event link condition indicates break event indicates trace event note note valid only for cpu cores with the trcu incorporated. the color of the character displayed in a mark indicates the setting status of each event condition. mark event name
chapter 6 window reference users manual u14891ej1v0um00 238 table 6-29. character color of event icon character color in mark corresponding mark meaning , indicates that the event conditions using events and event link conditions are valid. red (valid) , indicates that each event condition is enabled. each event is generated when condition is satisfied. , indicates that the event conditions using events and event link conditions are invalid. black (invalid) , indicates that an event is invalid. the event does not occur even if the conditions are established. yellow (pending) , , , indicates that the symbol specified in the event cannot be recognized by the program that is currently loading, so it is held pending. in addition to the above function, this area also has the following four functions. (a) jump function jumps to the source window, assemble window, or memory window by using the address condition of the selected icon as a jump pointer if the selected icon is the event condition. the jump destination window displays the jump pointer at the beginning. if the address condition is a range setting, the lower address becomes the jump pointer. if a mask is set, the point address before the mask is executed becomes the jump pointer. in the case of a bit setting, the address of the specified bit position becomes the jump pointer. this function is executed by performing the following operations in the sequential order. <1> select an icon. <2> perform one of the following operations in the main window. if the jump destination is the source window select [jump] ? [s ourcetext] from the menu bar. press the grph + j , and s keys in that order. press shortcut keys ctrl + u . if the jump destination is the assemble window select [jump] ? [a ssemble] from the menu bar. press the grph + j , and a keys in that order. press shortcut keys ctrl + d . if the jump destination is the memory window select [jump] ? [me mory] from the menu bar. press the grph + j , and e keys in that order. press shortcut keys ctrl + m .
chapter 6 window reference users manual u14891ej1v0um00 239 (b) open function this function opens the setting dialog box corresponding to the selected icons event. the contents of the selected event are displayed in each setting dialog box that is opened. this function is executed by performing one of the following operations. <1> double-click the icon. <2> select the icon, then click . (c) enabled state switching function this function switches the state of the event corresponding to the selected icon between enabled and disabled. except for an event and event link, it is possible to operate break and trace note events by icons. this function is executed by performing one of the following operations. <1> click the left button of the mouse when the mouse cursor is on the icon mark. <2> select an icon and click or , or press the grph + enter keys. if an event is in the enabled state, it becomes disabled (black), and if the event is in the disabled state, it becomes enabled (red). the button is displayed when an icon in the disabled state is selected, and the button is displayed when an icon in the enabled state is selected. note the trace function is valid only for cpu cores with the trcu incorporated. (d) delete function deletes registration/set contents of the event condition of a selected icon. multiple icons can be selected using the shift and ctrl keys. to select all the icons, select [view] ? [select a ll event] from the menu bar. however, an event condition and event link condition can be deleted only when that event condition is not used by other event condition ( or ). if the event condition or event link condition has been already used for any other event, delete the event used. this function is executed by performing one of the following operations. <1> select an icon and perform one of the following operations in the main window. select [edit] ? [del ete event] from the menu bar. press the grph + e , and d keys in that order. <2> select an icon and perform one of the following operations in the event manager. click button. press the del key.
chapter 6 window reference users manual u14891ej1v0um00 240 (2) event detail display area this area is displayed only when the detailed display mode is selected. this area displays the detailed information corresponding to the icon of each event. this area displays the contents of the status condition, access size condition, data condition, and mask condition, in that order, by using the information of each key as a separator, when an event condition is specified. the following tables show the correspondence between the information of each key and the condition. table 6-30. key information in detailed event display mode in the case of event condition key information contents [s] status condition [z] access size condition [a] address condition (the actual address is displayed within ( )) [d] data condition [m] mask condition in the case of event link condition key information contents [p1] to [p4] event link condition of nth stage (n = 1 to 4) [d] disable condition [p] pass count condition in the case of break condition key information contents [b] break condition in the case of trace conditions note key information description [s] section trace start condition [e] section trace end condition [t] delay trigger condition note valid only for cpu cores with the trcu incorporated.
chapter 6 window reference users manual u14891ej1v0um00 241 function buttons this button opens the new event dialog box. in the new event dialog box, by clicking each button, the setting dialog box for event, event link, break, and trace events can be opened. each setting dialog box that is opened has the new event name set in it. after each setting dialog box is opened, the new event dialog box is closed. if is clicked or the esc key is pressed, the new event dialog box closes and the screen returns to the event manager. opens the setting dialog box corresponding to the event condition selected in the event display area. the event condition contents selected in the event display area are displayed in the setting dialog box. if the event condition has not been selected, or if multiple conditions are selected, this button is displayed in gray and can no longer be clicked. the enter key also has the same operation. sets break and trace events in the enabled state. the button is displayed in place of the button if one disabled event or multiple events including disabled only events are selected. sets break and trace events in the disabled state. the button is displayed in place of the button if one enabled event is selected or multiple events including enabled events are selected. if an event or an event link only is selected, this button is displayed in gray and it can no longer be clicked. deletes the event condition selected in the event display area. when deleting an event or event link, if that event is being used by a break, trace, or event link, it results in an error. the del key also has the same operation. delete all deletes all the events whether they are enabled or disabled. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges events by kind and displays them. the button displays the events in the order in which they were entered without rearranging them. the button sets the display mode to the detailed display mode. the button sets the display mode to the list display mode. the button or the esc key closes the dialog box. closes the event manager.
chapter 6 window reference users manual u14891ej1v0um00 242 software break manager mdi child window general displays, enables/disables, and deletes software breaks. opening method this window can be opened by either of the following methods. in the main window select [event] ? [sof tware break manager] from the menu bar. press the grph + n , and m keys in that order. window figure 6-57. software break manager function software breaks can be displayed, enable/disable switched, and deleted in this window. up to 100 software break events can be enabled at the same time. note that software breakpoints cannot be set in this window. software breakpoints are set in either the source or assemble window. (1) event name display area (2) break mark display area (3) break point display area (4) address display area
chapter 6 window reference users manual u14891ej1v0um00 243 the software break manager consists of the following areas. event name display area break mark display area break point display area address display area the functions of each area is explained below. (1) event name display area this area displays the names of recorded events and includes check boxes that indicate their enabled/disabled status. the name of an event can be directly edited by clicking the selected name. press the return button to set the change. the default setting is indicated by swb+[number]. enable events by selecting the relevant check box (check boxes are selected as the default setting for a new creation). double-clicking an event allows you to jump to the window in which the event was created (source or assemble window). [reference] click name on the title bar to sort the displayed items into dictionary order (alphabeticalC ascending or descending (switchable by clicking)). (2) break mark display area this area displays a > mark for the software break event set at the current pc position (making it easy to specify the software break event that caused the break). (3) break point display area
chapter 6 window reference users manual u14891ej1v0um00 244 the location at which the software break event is set is indicated by the following format. file name#line no. (when set in source window) symbol+offset (when set in assemble window) events are reevaluated when symbols are redownloaded (etc.) based on these formats. [reference] click file#line/symbol+offset on the title bar to sort the displayed items into dictionary order (alphabetical C ascending or descending (switchable by clicking)). (4) address display area this area displays the address at which the software break event has been set. [reference] click address on the title bar to sort the displayed items into numerical order (ascending or descending (switchable by clicking)). function buttons enables the selected event. disables the selected event. deletes the selected event. delete all deletes all the software break events that were set. closes the software break manager.
chapter 6 window reference users manual u14891ej1v0um00 245 event dialog box modeless general this dialog box registers and displays event conditions. the event conditions created (registered) on this dialog box are automatically registered to the event manager. opening method this dialog box can be opened in the following methods. in the main window select [event] ? [e vent ? ] from the menu bar. press the grph + n , and e keys in that order. click the button on the toolbar. execute one of the following operations in the break, trace, or event link dialog box. click the button. press the shortcut keys grph + e . execute one of the following operations in the event area or the event manager area of the break, trace, or event link dialog box. select the event condition and click . select the event condition and press the shortcut keys grph + o . double-click the event condition. in the event manager, execute one of the following operations. select an event condition and click . double-click the event condition. execute one of the following operations in the new event dialog box or the set other dialog box. click the event button. press the shortcut keys grph + e .
chapter 6 window reference users manual u14891ej1v0um00 246 window figure 6-58. event dialog box when event manager area is displayed when event manager area is not displayed (1) event name setting area (4) address setting area (2) status select area (5) data setting area (3) access size select area (6) event manager area (1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
chapter 6 window reference users manual u14891ej1v0um00 247 function this dialog box registers and displays event conditions. up to 256 conditions can be entered for event conditions. however, the maximum number of event conditions which can be used simultaneously in enabled break and trace events is as follows, even including event conditions used via the event link. table 6-31. number of valid event conditions with/without teu maximum valid number with teu 8 (execution events note 1 , two access events) without teu 2 note 2 notes 1. events before execution: 2, events after execution: 4. events before execution can be used only as break events but cannot specify the address range. 2. exclusive use of events before execution and access events and address range specification are prohibited. the event dialog box has two modes, the normal mode and the select mode. normal mode when button from the toolbar or [event] ? [e vent] from the menu bar in the main window is selected and the event dialog box is opened, event conditions can be entered without restriction as to purpose. this is the normal mode. select mode when button in the break, trace, and event link dialog boxes is clicked and the event dialog box is opened, the event conditions used by these are selected. this is the select mode. in the select mode, when is clicked, the event condition selected in the event name setting area of the event dialog box is set in the event condition setting area of the setting dialog box that originally called the event dialog box. even in the select mode, event conditions can be entered and displayed just as in the normal mode. depending on the mode, the title bar display on the dialog box will differ. refer to the section entitled title bar described later on. the event dialog box consists of the following areas. event name setting area status select area access size select area address setting area data setting area event manager area the function of each area is explained below.
chapter 6 window reference users manual u14891ej1v0um00 248 (1) event name setting area this area sets an event name and selects an event condition. when entering an event condition, it is necessary to set an event name. an event name may consist of up to eight alphanumeric characters. when displaying event conditions which have already been created, either type the event name of the already created event name in the text box or select the event condition from the drop-down list in the event name setting area. in the select mode, the selected event condition can be set in the event condition setting area of the original setting dialog box that called the event dialog box. the mark on the left side of the event name setting area shows the use conditions of the event condition. the relationship between the color of the character in the mark and the status is shown below. table 6-32. meanings of event icons (event condition) color of character in mark condition red (valid) that event condition is being used by break, trace, or event link and indicates that it is enabled. black (invalid) indicates that that event condition has not been enabled. gray (not entered) indicates that that event condition is currently being edited and that it has not been entered. yellow (pending) indicates that that event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to.
chapter 6 window reference users manual u14891ej1v0um00 249 (2) status select area this area sets and selects a status condition. by specifying the status condition, the distinction between the execution event and access event is decided at the same time. if execution event is specified, the access size select area, the mask field of the address setting area and the data setting area are displayed in gray and are in a state where input is impossible. the status conditions that can be specified are shown below. it is possible to specify a status condition in abbreviated form. the input status condition is not case sensitive. table 6-33. list of status conditions in event dialog box status abbr. event type meaning execution ex program execution before execution note ex-b execution event program execution (break before execution) r/w rw data read/write read r data read write w data write access ac access event all access statuses note up to 2 events can be made to the enable status in before execution and only break event conditions can be used. also, the address range cannot be set. (3) access size select area this is where the access size conditions are set and selected. by specifying the access size conditions, the access width for data conditions during access data search is decided. the access size conditions that can be specified are shown below. it is possible to specify the access size conditions in abbreviated form. the input access size condition is not case sensitive.
chapter 6 window reference users manual u14891ej1v0um00 250 table 6-34. list of access size conditions in event dialog box size abbr. meaning byte b detection is made with an 8-bit width as the data condition. detection is made only during 8-bit access. half word hw detection is made with a 16-bit width as the data condition. detection is made only during 16-bit access. word w detection is made with a 32-bit width as the data condition. detection is made only during 32-bit access. no condition nc an access-size detection is not executed. bit 1 detection is carried out with a 1-bit width as the data condition. detection is carried out only during 8-bit access. if bit is specified as the access size condition, detection is made with a 1-bit width as the data condition, but due to emulator operation, since access to the bit itself cannot be detected directly, the debugger detects for a pseudo bit access by setting the address conditions and data conditions internally as follows. input example emulator setting address 0xffe000.1 address 0xffe000 data 1 data 00000010b mask 11111101b for that reason, for access to other bits in the same address, or even for access to all 8 bits in the same address, if the values match the specified [address.bit] value, an event occurs in accordance with the specified status. also, during bit writing when the device is in operation, reading and writing with a full 8 bits is executed, but if read or read/write is specified in the status, an event occurs if the specified [address.bit] value matches with respect to the read operation at this time. if no condition is specified, the data setting area is displayed in gray and input cannot be done. if setting the access size condition is omitted, it is judged automatically from the address conditions and data conditions and set. if a bit is set for the address condition, the condition becomes bit. if 8 bits is set for the data condition, the condition becomes byte. if 16 bits is set for the data condition, the condition becomes half word. if 32 bits is set for the data condition, the condition becomes word. if the data condition specification is omitted, the condition becomes no condition. this area is blank in the case of newly created event conditions.
chapter 6 window reference users manual u14891ej1v0um00 251 (4) address setting area this area sets an address condition. the setting range is as shown below. setting range: 0 address value 0xffff ffff input the lower addresses and the higher addresses in that order. the following three types of settings can be made in specifying an address condition. <1> point setting only the lower address or the same address value is set to the lower and higher addresses when a point is set. <2> range setting a range is specified by the lower and higher addresses. note that if the same value is input for the lower and higher addresses, it is not handled as a range setting. in this case, it becomes a point setting or a bit setting. moreover, if an event condition is changed during use and if there was a range setting prior to the change, there must be a range setting after the change. similarly, if there was no range setting prior to the change, neither the address condition nor the range setting can be changed. <3> bit setting for a bit setting, set a value in the lower addresses only, or set the same value in the lower and higher addresses. specify the value in the address.bit format. the value of the bit that shows the bit position must be 0 bit 7. for the address, it is possible to specify a symbol or expression. the specification method is the same as in the address move dialog box. the default radix when numerical values are input is hexadecimal. this area is blank in the case of newly created event conditions.
chapter 6 window reference users manual u14891ej1v0um00 252 (5) data setting area this area sets a data condition. the setting range is as follows. table 6-35. list of data conditions in event dialog box access size condition setting range byte 0 data value 0xff 0 mask value 0xff half word 0 data value 0xffff 0 mask value 0xffff word 0 data value 0xffff ffff 0 mask value 0xffff ffff bit data value = 0, 1 mask value = cannot be specified if the data condition setting has been omitted, data condition detection is not performed. for a newly created event condition, the address value and the mask value input columns are both blank. there are two types of data conditions: data that sets a data value, and mask that sets a mask value of data value. how to set each of these types is explained below. (a) data this area sets a data value. a data value can also be specified by a symbol or expression. the specification method is the same as in the case of the symbol to address dialog box, but the default radix when numerical values are input is hexadecimal. (b) mask this area sets a mask value for the data value. when mask setting is made, for a bit with a mask value of 1, it doesnt matter if the data value is 0 or 1. example 1. data: 0x4000 mask: 0xff in this kind of setting, the conditions match when the data value is 0x4000 to 0x40ff. 2. data: 0x4000 mask: 0x101 in this kind of setting, when the data are 0x4000, 0x4001, 0x4100, and 0x4101, they match the conditions. if the mask value setting is omitted, masking is not executed. the default radix when numerical values are input is hexadecimal.
chapter 6 window reference users manual u14891ej1v0um00 253 (6) event manager area this area displays a list of each of the entered events, event links, breaks, and trace events. by selecting an event and clicking , or by double-clicking the event, a setting dialog box opens corresponding to the selected event and the event setting contents can be displayed. when the focus is on the event manager area, select the event icon, then click , or press the del key and the selected event can be deleted. by clicking , it is possible to select the event manager area display mode or sequencing. function buttons closes the event dialog box. (normal mode) if there is an event condition that is being edited, it is entered automatically and the dialog box is closed. sets the displayed event as the event condition of the original dialog box that (select mode) called the event dialog box. if the event dialog box is already open, the select mode returns to the normal mode only and the event dialog box does not close. in other cases, it closes. if there is an event condition being edited, enter/select is performed automatically and the program returns to the original setting dialog box. newly creates an event condition. an event name is generated automatically and a newly created event condition is prepared. after it is created, be sure to enter the event condition using the or the button. enters an event condition. when a new event condition has been created or when the contents of an event condition have been changed, be sure to enter the event condition using this button. the entered event condition is reflected in the event manager. if event conditions that have already been entered are displayed, they cannot be selected. clears the contents of an event condition. if an event condition is entered but not edited, this button is displayed in place of the button.
chapter 6 window reference users manual u14891ej1v0um00 254 returns the contents of an event condition to the original contents. if an event condition that has not been entered is displayed, all the area is made blank except the event name, or the settings return to the default settings. if an event condition is being edited, this button is displayed in place of the button. closes the event dialog box. (normal mode) if an event condition has been created/changed/deleted, after that, the button becomes this button. even if there is an event condition that is being edited, the dialog box closes without the event condition being entered. the esc key has the same operation. closes the event dialog box. (normal mode) if an event condition is not being created/changed/deleted, this button becomes the button. even if an event condition is being edited, the dialog box closes without the event condition being entered. the esc key has the same operation. returns to the original setting dialog box that called the event dialog box without (select mode) an event condition being selected. if an event condition is not being created/changed/deleted, the button becomes this button. if the event dialog box is already open, the select mode returns to the normal mode only, and the event dialog box does not close. in other cases, the event dialog box closes. even if an event condition is being edited, it is not entered. the esc key has the same operation. returns to the original setting dialog box without selecting the event condition. (select mode) if an event condition has been edited/changed/deleted, the button becomes this button. if the event dialog box is already open, the select mode returns to the normal mode only, and the event dialog box does not close. in other cases, the event dialog box closes. even if an event condition is being edited, it is not entered. the esc key has the same operation. opens the help window. opens the event link dialog box. opens the break dialog box. opens the trace dialog box. opens the event manager.
chapter 6 window reference users manual u14891ej1v0um00 255 displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the button. opens the setting dialog boxes and displays the event, event link, break, or trace conditions selected in the event manager area. deletes the event, event link, break, or trace conditions selected in the event manager area. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by kind and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. title bar in the normal mode, [event] is displayed as the title in the title bar. title bar event in the select mode, the title in the title bar becomes as follows in accordance with the original setting dialog box that called the event dialog box. title bar original setting dialog box event C break break dialog box event C trace trace dialog box event C event link event link dialog box event C event link C break event link dialog box (while in the break dialog box select mode) event C event link C trace event link dialog box (while in the trace dialog box select mode)
chapter 6 window reference users manual u14891ej1v0um00 256 event link dialog box modeless general this dialog box registers and displays event link conditions. the event link conditions created (registered) in this dialog box are automatically registered to the event manager. opening method this dialog box can be opened in the following methods. in the main window select [event] ? [eventl ink ? ] from the menu bar. press the grph + n , and l keys in that order. in the event dialog box click the button. press the shortcut keys grph + l . execute one of the following operations in the break or trace dialog box. click the button. press the shortcut keys grph + l . execute one of the following operations in the event setting area or the event manager area of the event, break or trace dialog box. select the event link condition and click . select the event link condition and press the shortcut keys grph + o . double-click the event link condition. in the event manager select an event link condition and click . double-click the event link condition. in the new event dialog box or the set other dialog box click the button. press the shortcut keys grph + l .
chapter 6 window reference users manual u14891ej1v0um00 257 window figure 6-59. event link dialog box when event manager area is displayed when event manager area is not displayed (1) event link name setting area (4) disable condition setting area (2) pass count setting area (5) event manager area (3) link condition setting area (2) (1) (3) (4) (5) (1) (3) (4) (2)
chapter 6 window reference users manual u14891ej1v0um00 258 function this dialog box registers and displays event link conditions. if the event link conditions are satisfied, an event occurs only if the user program is executed as the specified order of the event conditions that have been set. event link conditions can be set up to four stages. if a disable condition is detected midway, the event conditions that have been satisfied until that point are initialized, and the search is started at the first event condition. note that if the link condition and the disable condition are detected at the same time, the disable condition is given priority. up to 256 event link conditions can be registered. however, the number of event link conditions which can be used simultaneously in enabled break and trace events is as follows. table 6-36. number of valid event link conditions with/without teu maximum valid number with teu 3 without teu setting disabled the event link dialog box has two modes, the normal mode and the select mode. normal mode when [event] ? [event l ink] from the menu bar in the main window is selected and the event link dialog box is opened, event link conditions can be entered without restriction as to purpose. this is the normal mode. select mode when in the break dialog box is clicked and the event link dialog box is opened, the event conditions used by these are selected. this is the select mode. in the select mode, when is clicked, the event link condition selected in the event link name setting area of the event link dialog box is set in the event condition setting area of the break dialog box. even in the select mode, event conditions can be entered and displayed just as in the normal mode. depending on the mode, the title bar display on the dialog box will differ. refer to the section entitled title bar described later on. the event link dialog box consists of the following areas. event link name setting area pass count setting area link condition setting area disable condition setting area event manager area the function of each area is explained below.
chapter 6 window reference users manual u14891ej1v0um00 259 (1) event link name setting area this area sets event link names and selects event link conditions. when entering an event link condition, it is necessary to set an event link name. an event link name may consist of up to eight alphanumeric characters. when displaying event link conditions which have already been created, either type the event link name of the already created event link condition in the text box or select the event link condition from the drop-down list in the event link name setting area. in the select mode, the selected event link condition can be set in the event link condition setting area of the original setting dialog box that called the event link dialog box. the mark on the left side of the event link name setting area shows the use conditions of the event link condition. the relationship between the color of the character in the mark and the status is shown below. table 6-37. meanings of event icons (event link condition) color of character in mark condition red (valid) that event link condition is being used by break and indicates that it is enabled. black (invalid) indicates that that event link condition has not been enabled. gray (not entered) indicates that that event link condition is currently being edited and that it has not been entered. yellow (pending) indicates that that event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) pass count setting area this area sets a pass count condition. the range which can be set is as follows. setting range: 1 pass count 32,767 a pass count condition specifies how many times the event link condition set in this dialog box must be matched while the user program is executed, in order that a given condition is satisfied. if 1 is set as the pass count, the condition is satisfied when each condition is matched. this area is valid only for cpu cores with the teu incorporated. the pass count is explained below. when inputting a value directly to the text box, input a decimal character string. if the pass count condition is omitted, it is taken that 1 is set. with a newly created event link condition, the pass count becomes 1.
chapter 6 window reference users manual u14891ej1v0um00 260 (3) link condition setting area this area sets the sequence of event detection as a link condition. event conditions are set in three steps, from phase 1 to phase 4. event conditions need not be set up to phase 4. if phase 4 is not set, an event occurs when the event condition set to the last phase is detected. event conditions can be set in only phase 1, and same event conditions can be set in two or more phases. the number of event conditions that can be set to each phase in the link condition setting area is as follows. table 6-38. number of events that can be set in link condition setting area type number of events that can be set event condition (with teu) up to 6 for each phase event condition (without teu) up to 1 for each phase 1 and phase 2 note setting disabled for phase 3 and phase 4 note can be used only for a break condition. to set an event condition, use one of the following methods. click and open the event dialog box in the select mode, then select the event conditions to be set. in the event manager area, select one (or more than one) event condition, then click or set it by a drag-and-drop operation. setting of an event condition by a drag-and-drop operation is possible even from outside the event link dialog boxs event manager area; event conditions can be set from the event manager area of each setting dialog box and from the event manager. when the focus is on each phase of the link condition setting area, click and the event condition selected by the phase which caused the focus will be deleted. it can also be deleted by pressing the del key. each phase of the link condition setting area and the event conditions in the disable condition setting area can be copied mutually or moved by a drag-and-drop operation. the contents are shown below. if an event condition is dropped only by the mouse, it is moved. if it is dropped while pressing the shift key, the event condition is moved. if it is dropped while pressing the ctrl key, the event condition is copied. selecting only one event condition in the link condition setting area and clicking or double- clicking it opens the event dialog box and displays the contents of the event condition.
chapter 6 window reference users manual u14891ej1v0um00 261 (4) disable condition setting area this area is used to specify an event condition that invalidates the event conditions that have been established until that point. the number of event conditions that can be set in the disable condition setting area is as follows. table 6-39. number of events that can be set in disable condition setting area type number of events that can be set event condition (with teu) up to 6 event condition (without teu) setting disabled to set a disable condition, use one of the following methods. click and open the event dialog box in the select mode, then select the event conditions to be set. select an event condition in the event manager area and click , or make the setting by a drag- and-drop operation. when setting the event condition by a drag-and-drop operation, besides the event manager area in the event link dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the disable condition setting area, if is clicked, the selected event condition is deleted. it can also be deleted by pressing the del key. it is possible to copy and move event conditions in each phase in the disable condition setting area and link condition setting area by a drag-and-drop operation. the contents of this operation are shown below. if an item is dropped with a mouse only, the event condition is moved. if it is dropped while holding down the shift key, the event condition is moved. if it is dropped while holding down the ctrl key, the event condition is copied. if only one event condition in the disable condition setting area is selected and is clicked or the item is double-clicked, the event dialog box is opened and the event condition contents are displayed.
chapter 6 window reference users manual u14891ej1v0um00 262 (5) event manager area this displays a list of each of the entered events, event links, breaks, and traces events. an event condition that is displayed in the event manager area can be set in the link condition setting area or disable condition setting area by clicking . by dragging and dropping it from the event manager area in the event link dialog box, it can be set in the event setting area in each setting dialog box for break, and trace. when the focus is on the event manager area, select the event icon, then click , or press the del key and the selected event can be deleted. also, when the focus is on the event manager area, you can select one event icon, then click , or double-click the event icon to open the setting dialog box corresponding to the selected event and display the events setting contents. by clicking , it is possible to select the event manager area display mode or sequencing. function buttons closes the event link dialog box. (normal mode) if there is an event link condition that is being edited, it is entered automatically and the dialog box is closed. sets the displayed event as the event link condition of the original dialog box that (select mode) called the event link dialog box. if the event link dialog box is already open, the select mode returns to the normal mode only and the event link dialog box does not close. in other cases, it closes. if there is an event link condition being edited, enter/select is performed automatically and the program returns to the original setting dialog box. newly creates an event link condition. an event name is generated automatically and a newly created event link condition is prepared. after it is created, be sure to enter the event link condition using the or the button. enters an event link condition. when a new event link condition has been created or when the contents of an event link condition have been changed, be sure to enter the event link condition using this button. the entered event link condition is reflected in the event manager. if event link conditions that have already been entered are displayed, they cannot be selected.
chapter 6 window reference users manual u14891ej1v0um00 263 clears the contents of an event link condition. if an event link condition is entered but not edited, this button is displayed in place of the button. returns the contents of an event link condition to the original contents. if an event link condition that has not been entered is displayed, all the area is made blank except the event link name, or the settings return to the default settings. if an event link condition is being edited, this button is displayed in place of the button. closes the event link dialog box. (normal mode) if an event link condition has been created/changed/deleted, after that, the button becomes this button. even if there is an event link condition that is being edited, the dialog box closes without the event link condition being entered. the esc key has the same operation. closes the event link dialog box. (normal mode) if an event link condition is not being created/changed/deleted, this button becomes the button. even if an event link condition is being edited, the dialog box closes without the event link condition being entered. the esc key has the same operation. returns to the original setting dialog box that called the event link dialog box (select mode) without an event link condition being selected. if an event link condition is not being created/changed/deleted, the button becomes this button. if the event link dialog box is already open, the select mode returns to the normal mode only, and the event link dialog box does not close. in other cases, the event link dialog box closes. even if an event link condition is being edited, it is not entered. the esc key has the same operation. returns to the original setting dialog box without selecting the event link condition. (normal mode) if an event link condition has been created/changed/deleted, the button becomes this button. if the event link dialog box is already open, the select mode returns to the normal mode only, and the event link dialog box does not close. in other cases, the event link dialog box closes. even if an event link condition is being edited, it is not entered. the esc key has the same operation. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 264 opens the select mode in the event dialog box and makes additional settings in the link condition setting area or disable condition setting area. the area where additional settings are made becomes the selected area when is clicked. opens each setting dialog box for the event selected in the link condition setting area, disable condition setting area or event manager area and displays the contents. if an event is not selected, or if multiple events are selected, selection cannot be made. operation is the same as double-clicking the event icon. deletes the event selected in the link condition setting area, disable condition setting area or event manager area. the same operation is performed by pressing the del key. displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the button. adds an event condition or event link condition selected in the event manager area to the link condition setting area or disable condition setting area and sets it. the area where it is added becomes the selected area when is clicked. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by kind and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. this opens the set other dialog box. clicking each button opens the event manager and the event, break, or trace dialog box, and closes the dialog box. close the dialog box by clicking or and return to the event link dialog box.
chapter 6 window reference users manual u14891ej1v0um00 265 title bar in the normal mode, [event link] is displayed as the title in the title bar. title bar event link in the select mode, the title in the title bar becomes as follows in accordance with the original setting dialog box that called the event link dialog box. title bar original setting dialog box event link C break break dialog box event link C trace trace dialog box
chapter 6 window reference users manual u14891ej1v0um00 266 break dialog box modeless general this dialog box registers, sets, and displays break event conditions. the break event conditions registered in this dialog box are automatically registered to the event manager. opening method this dialog box can be opened in the following methods. in the main window select [event] ? [b reak ? ] from the menu bar. press the grph + n , and b keys in that order. click the button on the toolbar. in the event dialog box click the button. press the shortcut keys grph + b . execute one of the following operations in the event manager area in the event, event link, or trace dialog box. select the break event condition and click . select the break event condition and press the shortcut keys grph + o . double-click the break event condition. in the event manager, execute one of the following operations. select the break event condition and click . double-click the break event condition. execute one of the following operations in the new event dialog box or the set other dialog box. click the button. press the shortcut keys grph + b .
chapter 6 window reference users manual u14891ej1v0um00 267 window figure 6-60. break dialog box when event manager area is displayed when event manager area is not displayed (1) break event name setting area (3) event manager area (2) break condition setting area (1) (2) (3) (1) (2)
chapter 6 window reference users manual u14891ej1v0um00 268 function this dialog box registers, sets, and displays break event conditions. up to 256 break event conditions can be entered. however, the number of break event conditions that can be used simultaneously is as follows. table 6-40. number of valid break event conditions with/without teu maximum valid number with teu 8 without teu 2 note note exclusive use of events before execution and access events and address range specification are prohibited. break event conditions become valid automatically when they are entered. however, if the number of break event conditions exceeds the number that can be used simultaneously, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the break event conditions are entered in the disabled state. note that if [run] ? [ignore break p oint] is selected, the break event condition will not operate even if it is enabled. the break dialog box consists of the following areas. break event name setting area break condition setting area event manager area the function of each area is explained below. (1) break event name setting area this area sets break event names and selects break event conditions. when entering a break event condition, it is necessary to set a break event name. the break event name that can be set must be of 8 alphanumeric characters or less. when displaying break event conditions which have already been created, either type the break event name of the already created break event condition in the text box or select the break event condition from the drop- down list in the break event name setting area. clicking the mark in the break event name setting area switches between enabling or disabling the break event condition. the relationship between the color of the character in the mark and the status is shown below.
chapter 6 window reference users manual u14891ej1v0um00 269 table 6-41. meanings of event icons (break event condition) color of character in mark condition red indicates that the break event condition has been enabled. a break event occurs if the condition is satisfied. black indicates that the break event condition has not been enabled. no break event occurs if the condition is satisfied. gray indicates that the break event condition is currently being edited and that it has not been entered. yellow indicates that the break event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) break condition setting area this area sets an event condition for a break. the number of event conditions that can be set in the break condition setting area is as follows. table 6-42. number of events that can be set in break condition setting area type number of events that can be set execution condition (with teu) 8 event condition (without teu) 2 note event link condition 1 note exclusive use of events before execution and access events. to set an event condition, use one of the following methods. click and open the event dialog box in the select mode, then select the event condition which is to be set. click and open the event link dialog box in the select mode, then select the event link condition which is to be set. select an event link condition in the event manager area and click , or make the setting by a drag-and-drop operation. when setting the event condition or event link condition by a drag-and-drop operation, besides the event manager area in the break dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box.
chapter 6 window reference users manual u14891ej1v0um00 270 when the focus is on the break condition setting area, clicking deletes the selected event condition or event link condition. it can also be deleted by del key. if only one event condition or event link condition in the break condition setting area is selected and is clicked or the item is double-clicked, the event dialog box or event link dialog box is opened and the event condition or event link condition contents are displayed. (3) event manager area this area displays a list of each of the entered events, event links, breaks, and traces events. an event or event link condition that is displayed in the event manager area can be set in the break condition setting area by clicking . also, event conditions or event link conditions in the event manager area can be dragged and dropped directly to the break condition setting area. when the focus is on the event manager area, select the event icon, then click , or press the del key and the selected event can be deleted. also, when the focus is on the event manager area, you can select one event icon, then click , or double-click the event icon to open the setting dialog box corresponding to the selected event and display the events setting contents. by clicking , it is possible to select the event manager area display mode or sequencing. function buttons closes the break dialog box. if there is a break event condition that is being edited, it is entered automatically and the dialog box is closed. break event conditions are enabled as soon as it is entered. newly creates a break event condition. a break event name is generated automatically and a newly created break event condition is prepared. after it is created, be sure to enter the break event condition using the or the button. enters the break event condition. when a new break event condition is created or when the contents of a break event condition have been changed, be sure to enter the break event condition using this button. if a break event condition that has already been entered is displayed, this button changes to either the button or the button.
chapter 6 window reference users manual u14891ej1v0um00 271 enables a break event condition. this button is displayed in cases where a break event condition is in the disabled state. it changes to either the button or the button. disables a break event condition. this button is displayed in cases where a break event condition is in the enabled state. it changes to either the button or the button. clears the contents of a break event condition. if a break event condition is entered but not edited, this button is displayed. it changes to the button. restores the break event condition to its original contents. if a break event condition that has not been entered is displayed, the display area is restored to the blank state except for the break event name. this button is displayed in the case where a break event condition is being edited. it changes to the button. closes this dialog box. if a break event condition is not being created/changed/deleted, the button becomes this button. even if a break event condition is being edited, this dialog box is closed without entering the condition. the esc key has the same operation. closes this dialog box. if a break event condition has being created/changed/deleted, the button becomes this button. even if a break event condition is being edited, this dialog box is closed without entering the condition. the esc key has the same operation. opens the help window. opens the event dialog box in the select mode and selects the set event condition. opens the event link dialog box in the select mode and selects the set event link condition. displays the contents of an event selected in the break condition setting area or the event manager area by opening each dialog box. when the event is not selected, or if multiple events have been selected, this button is disabled. its operation is the same as double-clicking the event icon.
chapter 6 window reference users manual u14891ej1v0um00 272 deletes an event selected in the break condition setting area or the event manager area. pressing the del key performs the same operation. displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the button. adds the event condition or event link condition selected in the event manager area to the break condition setting area. the area where the event condition is added is the selected area when button is clicked. an event other than an event condition or an event link condition cannot be added. opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by kind and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. opens the set other dialog box. clicking each button opens the event manager and the event, event link, or trace dialog box, and closes the dialog box. close the dialog box by clicking or and return to the break dialog box.
chapter 6 window reference users manual u14891ej1v0um00 273 trace dialog box modeless general this dialog box registers, sets, and displays trace event conditions. the trace event conditions registered in this dialog box are automatically registered to the event manager. this dialog box is valid only for cpu cores with the trcu incorporated. opening method this dialog box can be opened in the following methods. in the main window select [event] ? [t race ? ] from the menu bar. press the grph + n , and t keys in that order. click the button on the toolbar. in the event dialog box click the button. press the shortcut keys grph + t . execute one of the following operations in the event manager area in the event, event link, or break dialog box. select the trace event condition and click the button. select the trace event condition and press the shortcut keys grph + o . double-click the trace event condition. execute one of the following operations in the event manager. select the trace event condition and click the button. double-click the trace event condition. execute one of the following operations in the new event dialog box or set other dialog box. click the button. press the shortcut keys grph + t .
chapter 6 window reference users manual u14891ej1v0um00 274 window figure 6-61. trace dialog box when event manager area is displayed when event manager area is not displayed (1) trace event name setting area (3) section trace start/end condition setting area (2) delay trigger condition setting area (4) event manager area function this dialog box registers, sets, and displays trace event conditions. the following 2 types of condition traces can be set. section trace delay trace (1) (3) (2) (4) (1) (3) (2)
chapter 6 window reference users manual u14891ej1v0um00 275 up to 256 trace event conditions can be entered. however, the number of trace event conditions that can be used simultaneously is 1. trace event conditions become valid automatically when they are entered. however, if the enabled trace event conditions exist, or if the number of event conditions in use exceeds the number that can be used simultaneously, the trace event conditions are entered in the disabled state. also, in this case, a trace event condition cannot be enabled. a trace is performed only when the tracer is in the enabled state. set it by the procedure shown below. <1> select [option] ? [tracer on ] from the menu bar in the main window and enable the tracer. <2> when performing a conditional trace, select [run] ? [con d. trace on], and in other cases, select [r un] ? [uncond. trace on]. while the user program is executed, in order to stop the currently operating tracer, select [run] ? [trac er stop] from the menu bar. also, during program execution, in order to run the currently stopped tracer, select [run] ? [tracer start] from the menu bar. these two menus toggle and their display changes according to the current tracer state. one of the following can be selected as the tracer control mode. select [run] menu ? [tracer control mode]. [non stop] the total trace memory is traced and then overwritten from the oldest frame (default). [full stop] the total trace memory is traced and then the tracer is stopped. [delay trigger stop] the tracer is stopped after tracing for the delay count when a delay trigger event occurs. this dialog box consists of the following areas. trace event name setting area delay trigger condition setting area section trace start/end condition setting area event manager area multiple event conditions can be set to the delay trigger condition setting area and section trace start/end condition setting area. however, the total number of event conditions that can be set to the delay trigger condition setting area and section trace start/end condition setting area is as follows. table 6-43. total number of events that can be set to each area in trace dialog box type number of events that can be set execution condition (with teu) 6 note event condition (without teu) setting disabled event link condition setting disabled note as long as the number of events being used does not exceed the number of events that can be used simultaneously. the function of each area is explained below.
chapter 6 window reference users manual u14891ej1v0um00 276 (1) trace event name setting area this area sets trace event names and selects trace event conditions. when entering a trace event condition, it is necessary to set a trace event name. a trace event name that can be set must be of 8 alphanumeric characters or less. when displaying trace event conditions which have already been created, either type the trace event name of the already created trace event condition in the text box or select the drop-down list in the trace event name setting area. clicking the mark in the trace event name setting area switches between enabling or disabling the trace event condition. the relationship between the color of the character in the mark and the status is shown below. table 6-44. meanings of event icons (trace event condition) color of character in mark condition red indicates that the trace event condition has been enabled. a trace event occurs if the condition is satisfied. black indicates that the trace event condition has not been enabled. no trace event occurs if the condition is satisfied. gray indicates that the trace event condition is currently being edited and that it has not been entered. yellow indicates that the trace event is an event which is in the hold state. an event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. (2) delay trigger condition setting area this area sets an event condition for delay trigger. the delay count is set in the delay count setting dialog box.
chapter 6 window reference users manual u14891ej1v0um00 277 (3) section trace start/end condition setting area this area sets an event condition to start section trace to section start: and an event condition to end section trace to section end:. to set a delay trigger condition and section trace start/end condition, use one of the following methods. click and open the event dialog box in the select mode, then select the event condition which is to be set. select one or more event condition in the event manager area and click , or make the setting by a drag-and-drop operation. when setting the event condition by a drag-and-drop operation, besides the event manager area in the trace dialog box, it is possible to set it from the event manager area and event manager in each setting dialog box. when the focus is on the condition setting area, click the button, or press the del key and the selected event condition can be deleted. selecting an event condition in the condition setting area and clicking or double-clicking it opens the event dialog box and displays the contents of the event condition. the condition setting area is left blank when there is a newly created trace event condition. (4) event manager area in this area a list of each event, event link, break, and trace event is displayed. by selecting an event condition displayed in the event manager area and clicking , the event condition can be set in each condition setting area. also the event condition in the event manager area can be directly dragged and dropped in each event condition setting area. when the focus is on the event manager area, select an event icon, then click the button, or press the del key and the selected event can be deleted. when the focus is on the event manager area, selecting an event icon and clicking or double- clicking an event icon opens the setting dialog box corresponding to the selected event, and displays the contents of the settings of the event. by clicking , it is possible to select the event manager area display mode or sequencing.
chapter 6 window reference users manual u14891ej1v0um00 278 function buttons closes the trace dialog box. if there is a trace event condition that is being edited, it is entered automatically and the dialog box is closed. the trace event condition becomes enabled as soon as it is entered. newly creates a trace event condition. a trace event name is generated automatically and a newly created trace event condition is prepared. after it is created, be sure to enter the trace event condition using the or the button. enters a trace event condition. when a new trace event condition has been created or when the contents of a trace event condition have been changed, be sure to enter the trace event condition using this button. if trace event conditions that have already been entered are displayed, it changes to either the button or button. enables a trace event condition. this button is displayed in cases where a trace event condition is in the disabled state. it changes to either the button or the button. disables a trace event condition. this button is displayed in cases where a trace event condition is in the enabled state. it changes to either the button or the button. clears the contents of a trace event condition. if a trace event condition is entered but not edited, this button is displayed. it changes to the button. returns the contents of a trace event condition to the original contents. if a trace event condition that has not been entered is displayed, all the area is made blank except the trace event name. if a trace event condition is being edited, this button is displayed in place of the button. closes the trace dialog box. if a trace event condition is not being created/changed/deleted, this button becomes the button. even if a trace event condition is being edited, the dialog box closes without the trace event condition being entered. the esc key has the same operation.
chapter 6 window reference users manual u14891ej1v0um00 279 closes the trace dialog box. if a trace event condition has been created/changed/deleted, after that, the button becomes this button. even if there is a trace event condition that is being edited, the dialog box closes without the trace event condition being entered. the esc key has the same operation. opens the help window. opens the event dialog box in the select mode and selects an event condition to be set. opens the event link dialog box in the select mode and selects an event link condition to be set. displays the event contents selected in each condition setting area or event manager area by opening each setting dialog box. when the event is not selected, or if multiple events have been selected, this button is disabled. its operation is the same as double-clicking the event icon. deletes the event selected in each condition setting area or event manager area. the del key has the same operation. displays the event manager area. expands the size of the dialog box. when the event manager area is not displayed, this button is displayed in place of the button. does not display the event manager area. shrinks the size of the dialog box. when the event manager area is displayed, this button is displayed in place of the button. adds the event condition or event link condition selected in the event manager area to each condition setting area. the area where the event condition is added is the selected area when button is clicked. an event other than an event condition or an event link condition cannot be added.
chapter 6 window reference users manual u14891ej1v0um00 280 opens the event info dialog box. the button rearranges events in name order and displays them. the button rearranges the events in order by kind and displays them. the button displays the events in the order in which they were entered without rearranging them. the button changes the event manager area to the detailed display mode. the button changes the event manager area to the list display mode. the button or the esc key closes the dialog box. opens the set other dialog box. clicking each button opens the event, event link, or break dialog box and the event manager, and closes the set other dialog box. close the dialog box by clicking or and return to the trace dialog box.
chapter 6 window reference users manual u14891ej1v0um00 281 delay count setting dialog box modeless general this dialog box sets and displays the delay count to perform trace. this dialog box is valid only for cpu cores with the trcu incorporated. opening method this dialog box can be opened in the following methods. in the main window select [event] ? [d elay count] from the menu bar. press the shortcut keys grph + f and y . window figure 6-62. delay count setting dialog box function this dialog box sets and displays delay count. setting the delay count enables a trace to be performed for specified delay count after the delay trigger event condition set in the trace dialog box is satisfied. the delay count setting dialog box consists of the following area. delay count setting area the function of this area is explained below. (1) delay count setting area this area sets a delay count (in frame units). the settable range is from 0 (default) to 32767. (1) delay count setting area
chapter 6 window reference users manual u14891ej1v0um00 282 function buttons closes the delay count setting dialog box after setting the edited delay count. returns the delay count to the previous value. closes the delay count setting dialog box. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 283 reset debugger dialog box modal general this dialog box initializes the debugger, symbol information, and cpu. opening method this dialog box can be opened in the following methods. in the main window select [file] ? [debugger r eset ? ] from the menu bar. press the grph + f , and r keys in that order. window figure 6-63. reset debugger dialog box function this dialog box specifies the subject to be initialized using a check box. as the default, only the debugger is initialized. the reset debugger dialog box consists of the following area. reset subject select area the function of this area is explained below. (1) reset subject select area
chapter 6 window reference users manual u14891ej1v0um00 284 (1) reset subject select area this area selects the subject to be reset. debugger: initializes the debugger (default). symbol: resets symbol information. target cpu: resets cpu. function buttons initializes the selected subject. ignores the setting and closes this dialog box. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 285 about dialog box modal general this dialog box displays the version information of the debugger. opening method this dialog box can be opened in the following methods. in the main window select [help] ? [a bout ? ] from the menu bar. press the grph + h , and a keys in that order. window figure 6-64. about dialog box function this dialog box displays the version of the debugger and the version information of the device files, gui, project manager tool dlls, debugger dlls, assembler dlls, executor, and monitor. function button closes the about dialog box.
chapter 6 window reference users manual u14891ej1v0um00 286 exit debugger dialog box modal general this dialog box terminates the debugger. when terminating the debugger, the debugging environments can be saved in a project file. opening method this dialog box can be opened in the following methods. in the main window select [file] ? [ex it] from the menu bar. press the grph + f , and x keys in that order. also, the exit debugger dialog box opens when a compulsory close is executed, such as when windows is closed or when an application is closed in the task list. window figure 6-65. exit debugger dialog box function this dialog box specifies, by using a check box, whether the current debugging environments are saved in a project file or not when the debugger is terminated. as the default, the debugging environments are not saved in a project file. if the project file has been saved or loaded during a debugging operation, the default is to save the debugging environments. when the check box is checked and the button is clicked, the project file save dialog box is opened, the current debugging environments are saved in the project file, and all the windows are closed. the debugger is then terminated. if the project file has been saved or loaded during a debugging operation, however, the project file save dialog box is not opened, and the debugging environments are saved in the project file. if the button is clicked without checking the check box, all the windows are closed, and the debugger is terminated. note that the exit debugger dialog box can be set not to open in the debugger option dialog box.
chapter 6 window reference users manual u14891ej1v0um00 287 function buttons when the check box is checked, the project file save dialog box is opened, the current debugging environments are saved in the project file, and all the windows are closed. the debugger is then terminated. when the check box is not checked, all the windows are closed, and the debugger is terminated. closes this dialog box without performing anything. opens the help window.
chapter 6 window reference users manual u14891ej1v0um00 288 error/warning dialog box display dialog (modal) general this dialog box is opened if an error or a warning occurs, to inform the user to check the message. window figure 6-66. error/warning dialog box function contents of the error or warning are displayed in the message display area. refer to the list of error messages, if an error occurs. function button closes this dialog box.
users manual u14891ej1v0um00 289 appendix a debugging with id850nw this appendix explains the basic debugging operation using the id850nw. for the details of each window and dialog box mentioned in this section, refer to chapter 6 window reference . (1) setting debug environment set the operating environment of debugger. if a previous debug environment has been saved to the project file, the debug environment can be restored by loading that file. the procedure differs as follows depending on whether the project file is used or not. (a) when project file is not used <1> set all the items in the configuration dialog box. <2> set the extended options in the extended option dialog box. <3> set the debug options in the debugger option dialog box. caution always specify the startup symbol. (b) when project file is used when project file is used at startup <1> click project in the configuration dialog box. ? the project file load dialog box will open. <2> specify the project file name and click ok . ? the project file will be loaded. the following procedure can also be used. <1> select [run] from the start menu in windows. <2> use the browse button to specify the file to be executed, id850n32.exe. <3> after id850n32.exe, specify the name of the project file to be used (eg. a:\nectools32\bin\id850n32.exe d b:\test\test1.prj ( d = space)). <4> click ok . when project file is used during debugging <1> select [file] ? [proj ect] ? [o pen] in the main window, or click the button. ? the project file load dialog box will open. <2> specify the project file name and click ok . ? the project file will be loaded. (2) download load module file (a) download the load module file to be debugged. ? download dialog box (b) confirming loaded files ? load module list dialog box
appendix a debugging with id850nw users manual u14891ej1v0um00 290 (3) display disassemble result display the result of disassembling the user program downloaded. ? assemble window the method of displaying the disassemble display label column and mnemonic column can be changed. ? debugger option dialog box (4) display source program display the source program. the program whose source can be debugged must have debug information compiled with the -g option specified. ? source window (a) setting source path information, display font, and source file extension ? debugger option dialog box (b) selecting source file ? browse dialog box (c) source file and disassemble ? select [view] ? [m ix] when the source text file is the current window. (5) setting of event (a) registering event conditions and event link conditions ? event dialog box event link dialog box (b) setting of event conditions set event conditions by using the event icons in the event manager or in the event manager area of various event setting dialog boxes (however, breakpoints can be set in the source window/assemble window). trace event condition ? trace dialog box break event condition ? break dialog box (c) checking setting of event conditions ? event manager, the event manager area in each event setting dialog box (6) checking setting of software break ? software break manager (7) executing user program by executing the user program, the value of the pc advances to the set breakpoint, break event, or forced break. types of execution ? execution control buttons on the toolbar on main window, or [run] menu
appendix a debugging with id850nw users manual u14891ej1v0um00 291 (8) checking trace data ? trace view window (9) editing, checking, and changing contents of memory ? memory window, memory copy dialog box, memory fill dialog box, memory compare dialog box, memory compare result dialog box (10) registering, checking, and changing variable values ? quick watch dialog box, add watch dialog box, watch window, local variable window (11) checking contents of stack ? stack window (12) checking and changing of registered contents of register value ? register select dialog box, register window , ior window, the pc register value can also be checked in the source and assemble windows. (13) checking and changing peripheral i/o register value ? ior window, ior select dialog box (14) registering, checking, and changing user-defined i/o port value ? add i/o port dialog box, ior window (15) changing mnemonics and executing on-line assemble ? assemble window, source window (16) searching character string in each window ? source search dialog box, assemble search dialog box, memory search dialog box (17) referencing display file saved in previous debugging process ? view file load dialog box (18) saving screen contents to display file during debugging ? view file save dialog box (19) uploading memory contents ? upload dialog box (20) saving debug environment to project file ? project file save dialog box (21) terminating id850nw ? exit debugger dialog box
users manual u14891ej1v0um00 292 [memo]
users manual u14891ej1v0um00 293 appendix b terminology words and window types (refer to chapter 6 window reference ) used in this document are described below. b.1 terminology the following words are described in this document. teu trcu current window delimiter symbol (separator) program current program file current file function current function structure stack frame number line register name numeric value address symbol expression and operator character set each word and the input conventions is explained below.
appendix b terminology users manual u14891ej1v0um00 294 (1) teu and trcu both are parts of the dcu (debug control unit) function. teu: unit to realize the event function trcu: unit to realize the trace function the number of events that can be set is limited when the teu is not incorporated in the cpu core. the trace function cannot be used when the trcu is not incorporated in the cpu core. (2) current window the current window is the window in which an operation is currently being performed. in this window, information can be input from the keyboard and menus can be selected. (3) delimiter symbol (separator) a file, function, variable, or line can be specified by using the delimiter symbols listed in table b-1. table b-1. delimiter symbols symbol specification # used as a separator between file names and variable/function names and line numbers. $ used as a separator between load module names and file, variable, and function names. (4) program a program is the executable unit that is subject to debugging. the id850nw deals with each load module file specified when downloading as one program. the name of a program is specified by using the name of the load module file that is downloaded. (5) current program the current program is the program that contains the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (pc)). when specifying a file in the current program, specifying the program name may be omitted. (6) file the allowable number of characters in a file name are up to 127 characters in a full path. depending on the file type, it may be possible to specify a file name more than 127 characters. (7) current file the current file is the source file that has the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (pc)). when specifying a line or function in the current file by using a command, the file name can be omitted. (8) function functions constitute a c source program.
appendix b terminology users manual u14891ej1v0um00 295 (9) current function the current function is the function that has the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (pc)). to access a local variable in the current function, specifying the function name can be omitted. (10) structure structures and unions of the c language are generically referred to as structures. when a structure or union variable is used without explicitly specifying a member, the term structure is used. (11) stack frame number a stack frame number is a decimal number starting from 1. the stack contents are displayed numbered. the shallower the nesting of the stack, the higher the number. therefore, a function having a stack number 1 less than the stack number of another function calls that function. (12) line a line is specified to identify a certain line in the source file. line numbers are specified by an integer constant that starts from 1. (13) register name a register name is specified by the absolute name of a system register or general-purpose register of the v850 family microprocessors listed in table b-2, or by the byname of a register.
appendix b terminology users manual u14891ej1v0um00 296 table b-2. register set of v850 family register name register name register type absolute name byname register type absolute name byname eipc r13 eipsw r14 fepc r15 fepsw r16 ecr r17 psw r18 ctpc (v850e) note r19 ctpsw (v850e) note r20 dbpc (v850e) note r21 dbpsw (v850e) note r22 system registers ctbp (v850e) note r23 program counter pc r24 r0 zero r25 r1 r26 r2 r27 r3 sp r28 r4 gp r29 r5 t p r30 ep r6 r31 lp r7 r8 r9 r10 r11 general-purpose registers r12 general-purpose registers note these system registers exist in addition to the system registers described above in the v850e. (14) numeric value the following four types of numeric values can be used. binary input format: ny nny (n = 0, 1) octal input format: no nno (n = 0 to 7) nq nnq (n = 0 to 7)
appendix b terminology users manual u14891ej1v0um00 297 decimal input format: n nn nt nnt (n = 0 to 9) hexadecimal input format: n nn nh nnh 0xn 0xnn (n = 0 to f) cautions 1. suffixes (y, o, q, t, h, 0x) and the alphabet letters in hexadecimal numbers are not case sensitive. 2. if the first character is one of a to f, a 0 must be affixed in front. 3. the radix in the input column switches between decimal and hexadecimal in accordance with the default radix. (15) address an address is specified by directly specifying a numeric value. an address can also be specified by using a symbol or expression. when specifying an address by using a numeric value, hexadecimal, decimal, octal, or binary numbers can be used. (16) symbol a symbol consists of characters a to z, a to z, @, _ (underline), and 0 to 9. a symbol must begin with a character other than numerals 0 through 9. this software distinguishes between uppercase (a to z) and lowercase (a to z) characters. a symbol name can consist of up to 256 characters. if a symbol exceeding 256 characters is specified, the first 256 characters are valid. a symbol is defined by loading a load module file. symbols can be classified into the following types by the valid range. (a) global symbols (assembly language, c language) (b) static symbols (c language) static symbols in files static symbols in functions (c) local symbols (c language) local symbols in file local symbols in function local symbols in block
appendix b terminology users manual u14891ej1v0um00 298 the following symbols exist in each of the languages used. (a) assembly language label name (b) c language variable name (including pointer function name, enumerate type variable name, array name, structure name, and union name) function name, label name array element, structure element, union element (if the symbol is an array, structure, or union) a symbol can be described instead of an address and numeric value. the valid range of symbols is determined based on the source debugging information when the source file is assembled or compiled. a global symbol only describes a symbol name. a local symbol is expressed as a pair with a file name. (17) expression and operator an expression consists of constants, register names, peripheral i/o register name, and symbols combined by operators. if a peripheral i/o register name, label name, function name, or variable name is described as a symbol, an address is calculated as the value of the symbol. elements constituting an expression, other than operators, are called terms (constants and labels). terms are called the first term, second term, and so on, in the sequence they are described, starting from the one on the left. the following operators of c language can be used. arithmetic operators symbol meaning remark + addition returns sum of values of first and second terms - subtraction returns difference in value between first and second terms * multiplication returns product of values of first and second terms / division divides value of first term by value of second term, and returns integer of result mod, % remainder divides value of first term by value of second term, and returns remainder of result - sign unary operation (negative) returns twos complement of value of term + sign unary operation (positive) returns twos complement of value of term
appendix b terminology users manual u14891ej1v0um00 299 logical operators symbol meaning remark not ~ negation nots each bit of term, and returns result. and & logical product ands each bit of values of first and second terms, and returns result or | logical sum ors each bit of values of first and second terms, and returns result xor ^ exclusive logical sum exclusive-ors each bit of values of first and second terms, and returns result shift operators symbol meaning remark shr >> right shift right shifts the first term the amount of the value (bit number) expressed by the second term and returns the result. the number of higher bits shifted are replaced with 0. shl << left shift left shifts the first term the amount of the value (bit number) expressed by the second term and returns the result. the number of lower bits shifted are replaced with 0. byte resolution operators symbol meaning remark high higher byte the higher 8 bits of the terms lower 16 bits are returned. low lower byte the lower 8 bits of the terms lower 16 bits are returned. word resolution operators symbol meaning remark highw higher word the higher 16 bits of the terms 32 bits are returned. loww lower word the lower 16 bits of the terms 32 bits are returned. others symbol meaning remark ( left parenthesis ) right parenthesis executes operation in ( ) before operations outside ( ) cautions 1. parentheses ( and ) must be always used in pairs. 2. operations are performed in compliance with the following rules. ? the operation sequence is in accordance with the priority of the operator. ? when the priority of operators is the same, the operation sequence is from left to right.
appendix b terminology users manual u14891ej1v0um00 300 ? the operation within parentheses is executed before the operations outside the parentheses. ? each term of an operation is treated as unsigned 32-bit data. ? all the operation results are treated as unsigned 32-bit data. ? if an overflow occurs during operation, the lower 32 bits are treated as valid, and the overflow is not detected. 3. the priority of the operator is as follows. priority operator 1 - (, ) 2 higher + sign, C sign, not, ~ , high, low, highw, loww 3 *, /, mod, %, shr, >>, shl, << 4+, C 5 lower and, & 6 or, i, xor, ^ the following numeric values can be described when a constant is described as a term. (a) binary 0y numeric value 11111111111111111111111111111111y (32 digits) (b) octal 0o numeric value 37777777777o (c) decimal - 2147483648 numeric value 4294967295 a negative decimal number is internally converted into twos complement. (d) hexadecimal 0h numeric value 0ffffffffh (18) character set with the id850nw, the following character set can be used. character set symbol description uppercase characters a b c d e f g h i j k l m n o p q r s t u v w x y z alphabet character lowercase characters a b c d e f g h i j k l m n o p q r s t u v w x y z numerals 0 1 2 3 4 5 6 7 8 9 alphabet equivalent characters @ _ special characters . , : ; * / % + - < > ( ) ! [ ] & \ ^ | ~ # = $ ? { }
appendix b terminology users manual u14891ej1v0um00 301 other character set character name main usage . period direct member operator, bit position specifier , comma delimiter of operands * asterisk multiplication operator or indirect reference operator / slash division operator % percent remainder operator + plus positive sign or addition operator - minus negative sign or subtraction operator ( left parenthesis changes operation sequence ) right parenthesis changes operation sequence [ left bracket array subscript operator, base register specification symbol ] right bracket array subscript operator, base register specification symbol & ampersand address operator or bit and operator ^ control bit xor operator | vertical line bit or operator ~ tilde complement operator
appendix b terminology users manual u14891ej1v0um00 302 b.2 window type and configuration the id850nw debugger consists of windows and dialog boxes. basically, a window can be opened by using an icon, while a dialog box cannot. b.2.1 windows windows are broadly divided into the following 2 types. main windows mdi child windows mdi child windows cannot be displayed outside of the main window frame. b.2.2 dialog boxes dialog boxes can be classified into the following two types. modal dialog boxes modeless dialog boxes (1) modal dialog boxes when this type of dialog box is open, the user cannot access other windows or dialog boxes until the dialog box is exited. when the dialog box is closed after the operation in the dialog box has been completed or by selecting the cancel button of the dialog box, other windows and dialog boxes can be accessed. (2) modeless dialog boxes unlike a modal dialog box, the user can access other windows and dialog boxes even if the operation in the dialog box has not been completed.
users manual u14891ej1v0um00 303 appendix c error message list the error messages displayed in the id850nw consist of error no. + type + message . figure c-1. display format of error message when the ok button is clicked, the error message window is closed, and the operation is performed in accordance with the message. the error type is identified by the following three uppercase characters. table c-1. error message type type meaning a fatal error (abort error). the processing is aborted and the debugger is terminated. if this error occurs, the debugging work cannot be continued. f syntax error (fatal error). the processing is aborted, and all the windows and dialog boxes are closed. w warning. the processing is aborted. all the windows and dialog boxes are not closed. table c-2 lists the error messages. error number type message
appendix c error message list users manual u14891ej1v0um00 304 table c-2. error message list (1/22) error no. type error message/meaning 0002 f this feature is not supported. this function is not supported. 0100 a can not communicate with ice. please confirm the installation of the device driver for the pc interface board. communication with the in-circuit emulator cannot be established. check that the device driver for the interface board has been correctly installed. 0101 a can not find initialization file (expc.ini). an initialization file (expc.ini) cannot be found. 0102 a host name not found. no host name is found. 0103 a data transfer to ice is timed out. please confirm the power of ice, connection of the interface cable, or i/o address of the pc interface board. data could not be transmitted to the in-circuit emulator. check the in-circuit emulators power supply, cable connection, i/o address settings, etc. 0104 a data receive from ice is timed out. please confirm the power of ice, connection of the interface cable, or i/o address of the pc interface board. the in-circuit emulator returns no response. check the in-circuit emulators power supply, cable connection, i/o address settings, etc. 0105 a failed in reading device file (d3xxx.800). the device file (d3xxx.800) could not be correctly read. 0106 a illegal data received. received data is abnormal. 01a0 a no response from the evachip. please confirm the signal of the clock or reset, wait, hldrq and so on. there was no response from the evaluation chip. check that the reset, wait, hldrq (etc) signals or the clock signal are not abnormal. 01a1 a failed in reading ie703000.ie. ie703000.ie could not be correctly read. 01a2 a break board is not connected. the bk board is not connected. 01a3 a emulation board is not connected. the emulation board is not connected. 01a4 a board configuration of ice is not consistent. the board configuration in the in-circuit emulator is not consistent. 01a5 a pod/em1 board is not connected. the pod/em1 board is not connected. 01a6 a executor is running. the executor is running. 01a8 a failed in reading initialization file (expc.ini). the initialization file (expc.ini) has not been correctly read. 01d0 a failed in starting simulator. simulator startup has failed. 01d1 a not enough memory in starting simulator. there is not enough memory in starting simulator.
appendix c error message list users manual u14891ej1v0um00 305 table c-2. error message list (2/22) error no. type error message/meaning 0200 f verification error. a verify error. 02a0 f bus hold error. the bus is in the hold status. 02d2 f not enough memory for trace-buffer. memory for trace frame cannot be allocated. 0300 f user program is running. the user program is being executed. 0301 f user program is being breaked. the user program is being broken. 0302 f user program is being traced. the user program is being traced. 0303 f not traced. tracer measurement is not performed. 0304 f trace memory is not set. the tracer is off. 0306 f no trace block exists. there is no trace block. 0307 f no event condition exists. there is no event condition. 0308 f no timer measurement is done. timer measurement is not performed. 0309 f no trigger frame exists. there is no trigger frame. 030a f tracer is being stopped. the tracer is stopped. 030b f specified snap-event has not been registered. the snap event to be referenced/deleted is not registered. 030c f specified stub-event has not been registered. the stub event to be referenced/deleted is not registered. 030d f timer is running. the timer is operating. 030e f memory copy area is overlapped. the memory copy range has been overlapped. 030f f trace has been already set. trace is already in the on status. 0310 f event condition is not set. no event condition is set. 0311 f too many valid timer event conditions. the number of valid timer event conditions exceeds the maximum settable number. 0312 f specified timer event is not set. this timer event is not set.
appendix c error message list users manual u14891ej1v0um00 306 table c-2. error message list (3/22) error no. type error message/meaning 0313 f illegal map range. the map setting is wrong. 03a0 w target is not turned on. power is not supplied to the target device. 03a1 f step execution is being done. this command is under step execution. 03a2 f timer and tracer are running. the timer and tracer are operating. 03d0 a backtrace is being executed. back trace is under execution. 03d1 a backtrace is being stopped. back trace is stopped. 03d2 a backtrace execution point overrun oldest frame. the back trace execution stop position exceeds the oldest frame. 03d3 a illegal and condition. and condition is illegal. 03d4 a no backtrace information exists. the back trace information does not exist. 03d5 a last command can not be backstepped. back step of the last instruction could not be performed. 0400 f illegal condition. the specified condition is illegal. 0401 f result of timer measurement overflowed. the timer measurement result has overflow. 0402 f too many event conditions with path count. too many event conditions that set path count have been used. 0403 f too many address range conditions. the maximum value of the address range specification condition is exceeded. 0404 f too many simultaneously-usable-event conditions. the maximum number of event conditions that can be used simultaneously is exceeded. 0405 f too many snap-events. the maximum number of snap events that can be set is exceeded. 0406 f too many stub-events. the maximum number of stub events that can be set is exceeded. 0407 f too many initialization data. the number of initialized data exceeds the initialization area. 0408 f too large search data (> 16 byte). the searched data exceed 16 bytes. 0409 f too large search data (> search range). the size of the searched data exceeds the size of the search range. 040a f too many linking-event conditions. the maximum number of integrated events that can be set is exceeded.
appendix c error message list users manual u14891ej1v0um00 307 table c-2. error message list (4/22) error no. type error message/meaning 04a0 f too many software breaks (> 100). the number of software breaks exceeds 100. 04a1 f not enough memory for emulation. the memory for emulation is insufficient. 04a2 f too many partition of bus size. the maximum number of delimiters of bus size has been exceeded. 04a3 f too many execution-event conditions. the maximum number of execution event conditions has been exceeded. 04a4 f too many bus-event conditions. the maximum number of bus event conditions has been exceeded. 0600 a can not allocate buffer. a buffer could not be allocated. 0c00 f monitor file read error. the monitor file could not be read. 0c20 f guarded area can not be accessed. there was an attempt to access a guarded area. 0c40 f different address condition is specified in re-registering event. the address condition when the event was reregistered was different to the previous one. 0c41 f coverage test is being executed. a coverage test is under execution. 0c60 f event number with different condition exits. an event number with a different condition exists. 0c61 f can not register event numbers which can not be used for hardware break. it is impossible to register event numbers that cannot be used for hardware breaks. 0c62 f event numbers reserved for hardware breaks can not be used. it is impossible to use event numbers that are used for hardware breaks. 0ca0 f can not communicate with ice. please confirm the power of ice, connection of the interface cable, or i/o address of the pc interface board. communication with the in-circuit emulator could not be established. check the in-circuit emulators power supply, cable connection, i/o address settings, etc. 0ca1 f monitor file not found. the monitor file could not be found. 1000 a failed in initializing ice. initializing the in-circuit emulator has failed. 1001 a no entry exists for specified number. the entry of the specified number does not exist. 1002 a can not relocate internal ram. the internal ram cannot be relocated. 1003 f illegal relocation address. the relocation address is illegal. 1004 f illegal condition. the specified condition is illegal. 1005 a invalid attribute. the attribute is invalid.
appendix c error message list users manual u14891ej1v0um00 308 table c-2. error message list (5/22) error no. type error message/meaning 1006 f illegal address. the address is illegal. 1007 a not enough memory on ice. in-circuit emulator alternate memory is short. 1008 a can not allocate memory for tables. memory for tables cannot be allocated. 1009 a already initialized. already initialized. 100a a not initialized. not initialized yet. 100b f user program is running. the user program is being executed. 100c f different bus size has been already specified. an attempt was made to set in duplicate an area with different bus size. 100d f too large bus size. the bus size exceeds the maximum value able to be defined. 100e f too large bus partition size. the delimiter of bus size has exceeded the maximum value. 100f w target is not turned on. the power supply of the target is off. 1010 a illegal map range. an illegal map range specification was made. 1011 f failed in setting internal rom and ram. setting the internal rom and ram has failed. 1012 f this feature is not supported. this function is not supported. 1013 f no terminal name. this pin name does not exist. 10ff a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be performed. 1dbe a internal error. internal error of the debugger. 2000 f illegal i/o register name. the i/o register name is illegal. 2001 a illegal address. the address is illegal. 2002 f user program is running. the user program is being executed. 2003 f illegal i/o register number. an illegal number of i/o registers were specified. 2004 f illegal bit number. the bit position is illegal.
appendix c error message list users manual u14891ej1v0um00 309 table c-2. error message list (6/22) error no. type error message/meaning 2005 w redraw i/o register name. an i/o register that must not be redrawn is specified. 2006 f this i/o register is hidden i/o register. an i/o register with a hidden attribute was specified. 2007 f cant read/write. a read/write disabled i/o register was specified. 2008 f too big number. the specified i/o register does not exist. 2009 a error in device file. a device file error. 200a f illegal value specified for i/o register. an illegal value was specified for the i/o register. an attempt was made to set the value that cant be written to ior. 200b a can not copy. copying has failed. 200c a can not allocate memory. memory allocation has failed. 20ff a can not communicate with ice. a communication error has occurred. communication with in-circuit emulator cannot be established. 2222 a illegal condition. the specified condition is illegal. 3000 f illegal address. the address is illegal. 3001 f memory has different value. the memory contents do not match. 3002 f illegal source address. the source address is illegal. 3003 f illegal destination address. the destination address is illegal. 3004 f illegal address (source & destination). both source address and destination address are illegal. 3005 f illegal condition. the specified condition is illegal. 3006 f user program is running. the user program is being executed. 3007 a verification error. verify error. 3008 f no condition specified. a condition has not been specified. 3009 f parameter size does not align with access size alignment. the size of the parameter is not access size alignment. 300a f specified address does not align with access size alignment. the specified address is not access size alignment.
appendix c error message list users manual u14891ej1v0um00 310 table c-2. error message list (7/22) error no. type error message/meaning 300b f source address does not align with access size alignment. the specified address (source) is not access size alignment. 300c f destination address does not align with access size alignment. the specified address (destination) is not access size alignment. 300d f illegal end address. the end address is illegal. 300e f different access size in specified area. the access size differs in the specified range. 300f f different access size both in source and destination areas. the access size differs in the specified range (source). 3010 f different access size in destination area. the access size differs in the specified range (destination). 3011 f different access size, source & destination. the access size differs between the specified range (source) and specified range (destination). 3012 a can not allocate memory. memory allocation has failed. 3013 a failed in writing dmm. writing dmm has failed. 3014 f overflowed mapping area. the mapping area is exceeded. 3015 a interrupted. processing is aborted. 3016 f this feature is not supported. this function is not supported. 30ff a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be established. 4000 f can not delete specified event number. the specified event number cannot be deleted. 4001 f illegal table number. the specified table number is illegal. 4002 f illegal start address. the start address is illegal. 4003 f illegal end address. the end address is illegal. 4004 f illegal status. the status is illegal. 4005 f illegal data. the data is illegal. 4006 f specified event number has been already used. an attempt was made to specify an event number that has already been used. 4007 f too many same events are registered. the maximum of the number of registered events of the same type is exceeded.
appendix c error message list users manual u14891ej1v0um00 311 table c-2. error message list (8/22) error no. type error message/meaning 4008 f specified event has not been registered. the specified event is not registered. 4009 f illegal data size. the data size is illegal. 400a f illegal mode. the mode is illegal. 400b f illegal condition. the specified condition is illegal. 400c f illegal type. the type is illegal. 400d f too many identical events are registered (>= 32767). an attempt was made to make registration exceeding 32,767 of the same registered events. 400e f specified event condition does not exist. the specified event condition does not exist. 400f f illegal event link condition. an event link condition is illegal. 4010 f function not found. the specified function was not found. 4011 f not enough memory. application has run out of memory. 4012 f timer is being disabled. the timer is invalid. 4013 w access size is different from its mapped bus size. the access size and mapped bus size differ. 4014 f can not use software break. software break cannot be used. 4015 f can not use event condition specifying address range. an event condition with a range specified cannot be used for an address condition. 4016 f can not change event condition. the event condition cannot be changed. 4017 f can not access word at odd address. word access to an odd address cannot be performed. 4018 a not enough memory. application has run out of memory. 4019 f not support. this function is not supported. 401a f no event. there is no event. 401b f can not use tag-event. a tag event cannot be used. 4318 f illegal memory bank setting. the setting of the memory bank is illegal.
appendix c error message list users manual u14891ej1v0um00 312 table c-2. error message list (9/22) error no. type error message/meaning 5000 a illegal type. the type is illegal. 5001 a can not allocate memory. memory allocation has failed. 5002 a can not open device file. opening the device file has failed. 5003 a can not seek device file. seeking the device file has failed. 5004 a can not close device file. closing the device file has failed. 5005 a illegal device file format. the format of the device file is wrong. 5006 a failed in initializing ice. initializing the in-circuit emulator has failed. 5007 a device information does not exist. device information is missing. 5008 f can not open device file. the specified device file cannot be opened. 5009 f can not open ie703000.ie. ie703000.ie cannot be opened. 500a f specified device file is illegal version. the version of the device file is illegal. 500b w specified device file does not relocate iram. this device file does not relocate iram. 500c a failed in reading expc.ini. the initialization file (expc.ini) cannot be correctly read. 500d a not enough memory. the memory has run short. 5300 a illegal type. the type is illegal. 5301 a can not allocate memory. memory allocation has failed. 5302 a can not open database file. the database file could not be opened. 5303 a can not seek database file. the database file could not be searched. 5304 a can not close database file. the database file could not be closed. 5305 a illegal device format. the format of the database file is illegal. 5306 a database information has been already initialized. initialization of the database information is already finished.
appendix c error message list users manual u14891ej1v0um00 313 table c-2. error message list (10/22) error no. type error message/meaning 5307 a database information does not exist. there is no database information. 5308 f can not open specified database file. the specified database file could not be opened. 5309 f specified database file is illegal version. the version of the database file is illegal. 6000 f current function does not exist. the current function does not exist. 6001 f illegal symbol name. the symbol name is illegal. 6002 f illegal condition. the specified condition is illegal. 6003 f illegal function name. the function name is illegal. 6004 f overflowed output buffer size. the data size exceeds that of the output buffer. 6005 f illegal expression. the expression is illegal. 7000 f illegal mode. the specified mode is wrong. 7001 f user program is running. the user program is being executed. 7002 f user program has been stopped. the user program is being stopped. 7003 f trace enabled. trace is being executed. 7004 f trace memory is not set. the trace memory is off. 7005 f function return address does not exist, can not do step execution. the return address of the function does not exist. step execution is not performed. 7010 w no source information exists. the source information is missing. 7011 w unknown result of step execution. the result of step execution is unknown. 7012 a not enough memory. application has run out of memory. 70fe a bus hold error. the bus is in the hold status. 70ff a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be established. 7801 f canceled step wait. the wait status following completion of step execution has been cancelled.
appendix c error message list users manual u14891ej1v0um00 314 table c-2. error message list (11/22) error no. type error message/meaning 7802 f interrupted step execution. step execution processing was aborted. 7f00 f aborted step execution. step execution processing was forcibly terminated. 7f02 f suspended step execution. step execution was aborted. 7f03 a failed in canceling run/step. canceling run/step has failed. 7f04 f can not execute non-mapped area. an attempt is made to execute from an area not mapped. 7f05 f this feature is not supported. this function is not supported. 8000 f file not found. the specified file is not found. 8001 f illegal line number. the line number is illegal. 8002 f current information is not set. the current information is not set. 8003 f illegal address. the address is illegal. 8004 f this feature is not supported. this function is not supported. 9000 a specified register symbol does not exist. the specified register symbol does not exist. 9001 a specified register symbol id does not exist. the specified register symbol id does not exist. 9002 f illegal value. the specified value is illegal. 9003 a illegal condition. the specified condition is illegal. 9004 a too large register size. the register size is too big. 9005 f this feature is not supported. this function is not supported. a001 f illegal expression. the expression is illegal. a002 f start address is bigger than the end address. the start and end address specifications have been reversed. a003 f illegal source path. the specified source path information is illegal. a004 f too long expression. the expression is too long.
appendix c error message list users manual u14891ej1v0um00 315 table c-2. error message list (12/22) error no. type error message/meaning a005 a not enough memory. application has run out of memory. a006 f illegal argument. the argument is illegal. a007 a illegal program number. the program number is wrong. a008 f source path is not set. the source path is not set. a009 f file not found. the file is not found. a00a f can not open file. opening the file has failed. a00b a can not close file. closing the file has failed. a00c a failed in reading file. reading the file has failed. a00d f not source file of load module. this is not the load modules source file. a00e f illegal line number. the line number is illegal. a00f f variable does not exist. the variable does not exist. a010 a can not communicate with ice. a communication error has occurred. communication with the in-circuit emulator cannot be established. a011 f can not access register. the register cannot be accessed. a012 f can not access memory. the memory (variable) cannot be accessed. a013 f can not seek file. seeking a file has failed. a014 f this is binary file. this is a binary file. a015 f can not get temporary path. a temporary path could not be allocated. a016 f can not create temporary file. a temporary file could not be created. a017 f can not remove temporary file. a temporary file could not be deleted. a020 f this feature is not supported. this function is not supported. a021 f specified symbol is assigned to register. the specified symbol has already been assigned to a register.
appendix c error message list users manual u14891ej1v0um00 316 table c-2. error message list (13/22) error no. type error message/meaning b000 f illegal command line. the command line is illegal. b001 f program information does not exist in specified load module file. the load module file does not have program information. b002 f file not found. the file is not found. b003 f function not found. the function is not found. b004 f illegal magic number. the magic number is illegal. b005 f symbol not found. the symbol is not found. b008 f illegal expression. the expression is illegal. b009 a not enough memory. application has run out of memory. b00a f illegal symbol in load module file. an illegal symbol exists in the load module file. b00b f current program does not exist. the current program does not exist. b00c f current file does not exist. the current file does not exist. b00d a current function does not exist. a current function does not exist. b00e a current line does not exist. a current line does not exist. b00f a tag not found. no tag is found. b010 a failed in loading symbol table. loading the symbol table has failed. b011 a illegal line number. the line number is illegal. b012 f too large line number. the line number is too large. b015 a failed in reading file. reading the file has failed. b016 a can not open file. opening the file has failed. b017 a failed in writing file. writing the file has failed. b019 a can not seek file. seeking the file has failed.
appendix c error message list users manual u14891ej1v0um00 317 table c-2. error message list (14/22) error no. type error message/meaning b01a a can not close file. closing the file has failed. b01b a too long load module file name. the file name of the load module is too long. b01c a too many entries of the task kind. there are too many task classification entries. b01d f address not found. the address does not exist. b01e w no line information (not compile with -g). there is no line information (it was not compiled using -g). b01f f can not find structure member. the member of the structure cannot be found. b020 f can not find value. the value could not be found. b021 f no symbol information exists in load module file. the load module file does not have symbol information. b022 f illegal line number. the line number is illegal. b023 a current stack frame is not active. the current stack frame is not active. b024 a different section. the section is wrong. b026 f too many array dimensions (> 4). the displayed array exceeds the fourth dimension. b027 f found end of file. the file ends in the middle. b028 f this feature is not supported. this function is not supported. b029 f illegal address. the address is illegal. b02a a can not communicate with ice. a communication error has occurred. communication between in-circuit emulator cannot be established. b02b f can not stack trace with current pc value. stack trace cannot be executed with the current pc value. b02c f too many blocks for one function. the maximum number of blocks allowable in 1 function has been exceeded. b02d f illegal argument. the argument passed to the function is illegal. b02e a path not found. the specified path is not found. b02f a information has been deleted because of optimization. information has been deleted as a result of optimization.
appendix c error message list users manual u14891ej1v0um00 318 table c-2. error message list (15/22) error no. type error message/meaning b030 a monitor timed out. time out of the monitor. b031 a already set in memory. already set on the memory. b032 a out of scope. out of scope. b033 a lp is not stored. lp has not been stored. b034 a inside of prologue or epilogue. within the prologue or epilogue. b036 w out of variable region. the specified variable cannot be referenced by the current pc. b037 f too many line-numbers information. there is too much line information. b038 f compiler version mismatch. because this compiler version is not supported, the debug information could not be loaded. b039 a failed in loading debug information. the debug information could not be loaded. b03a a no more section information. there is no section information. b040 a specified file is not load module. the specified file is not in a load module format. b041 a too many files in load module to download. the number of files in the load module exceeds the maximum number the debugger can handle. b042 w symbol module is not initialized. the sym module has not been initialized. b32e f illegal port number. an illegal port number. b32f f illegal port name. an illegal port name. b330 f illegal port position. the bit position of the specified port is illegal. b331 f illegal increment number. the specified increment count is illegal. b332 f port for memory bank is not set. the port for memory bank is not set. b333 f illegal bank number. an illegal bank number is specified. b334 f area for memory bank is not set. an area for memory bank is not set. b335 w too long symbol name. the symbol name is longer than the maximum allowable length.
appendix c error message list users manual u14891ej1v0um00 319 table c-2. error message list (16/22) error no. type error message/meaning c001 f can not open file. opening the file has failed. c002 a can not close file. closing the file has failed. c003 a failed in reading file. reading the file has failed. c004 a can not seek file. seeking the file has failed. c005 f illegal file type. a non-existent file type has been specified. c006 f illegal magic number. the magic number is illegal. c007 f specified file is not load module. the specified file is not in a load module format. c008 f specified load module file (elf) is old version. the version of the load module file (elf) is old. c009 f not enough memory. application has run out of memory. c00a f illegal address. the address is illegal. c00b f load module is not loaded. the load module is not loaded. c00c f illegal argument. the argument is illegal. c00d f user program is being emulated. the user program is being emulated. c00e f user program is being traced. the user program is being traced. c00f a interrupted. under processing. c010 a can not communicate with ice. a communication error has occurred. communication between the in-circuit emulator cannot be established. c011 f illegal load module file format. the format of the load module file is wrong. c012 f check sum error. a check sum error has occurred. c013 f too wide address range to upload (> 1m byte) the address range to be uploaded exceeds 1 mbyte. c014 f failed in writing file. writing the file has failed. c015 f illegal program number. the program number is illegal.
appendix c error message list users manual u14891ej1v0um00 320 table c-2. error message list (17/22) error no. type error message/meaning c016 f load information is full. the load information is full. c017 w symbol information is duplicated, please reset symbols. the symbol information overlaps. reset the symbol. c018 f specified file is not load module. the specified file is not in a load module format. c019 f failed in writing memory. memory could not be written to. c01a w illegal address. address is illegal. the bss section of the load module includes an illegal address. c01b f programmable-ior address not specified. an attempt was made to download a load module that did not contain programmable i/o area data. c01c w programmable ior address mismatch. the address of the programmable ior differs from the one set. the address of the programmable i/o area set in the configuration dialog box does not match the address of the programmable i/o area included in the load module. c100 f this feature is not supported. this function is not supported. d000 a internal error. an error occurs inside the debugger. d001 f not enough memory. application has run out of memory. d002 a failed in reading initialization file (expc.ini). the initialization file (expc.ini) cannot be read correctly. d003 a ice is not connected. the in-circuit emulator is not connected. d004 a can not find dynamic link library. the dynamic link library could not be found. e000 f illegal argument. the argument is illegal. e001 f illegal start address. the start address is illegal. e002 f illegal end address. the end address is illegal. e003 f too large size. the address size is too large. e004 f can not open file. opening the file has failed. e005 f failed in reading file. reading the file has failed. e006 f can not seek file. seeking the file has failed. e007 f failed in writing file. writing the file has failed.
appendix c error message list users manual u14891ej1v0um00 321 table c-2. error message list (18/22) error no. type error message/meaning e008 f not enough memory. application has run out of memory. e009 f illegal file format. the file format is wrong. e00a f verification error. verify error. e010 f this feature is not supported. this function is not supported. f000 f not enough memory. application has run out of memory. f001 f xxx not found. xxx could not be found. f002 f not found xxx. search from the beginning? xxx could not be found. do you want to search from the beginning? f003 w already exceed search region. the search range has already been exceeded. f004 f missing parameter. the parameter is illegal. f005 f illegal name. the name is illegal. f006 f illegal number. the number is illegal. f007 f start address is bigger than end address. start address is bigger than end address. f008 f illegal expression. the expression is illegal. f009 f xxx this file is illegal type. xxx this file is an illegal type. f100 f disk cannot write or full. either the disk could not be written to or it is full. f101 f file not found. this file could not be found. f102 f file not create. this file could not be created. f103 f old file version. this file is an old version. f104 f illegal file type. the file format is illegal. f105 f this file is a project file for xxxx please select a correct file. this project file is a file for xxx. specify a correct file. f200 w no differences encountered. there were no differences found. f201 f memory mapping error. the memory could not be mapped.
appendix c error message list users manual u14891ej1v0um00 322 table c-2. error message list (19/22) error no. type error message/meaning f202 f verify error. verify error. f300 f would you like to save the changes made in xxx? do you want the changes made in xxx to be saved? f301 f the symbol being used on the event condition cant be evaluated. the symbol being used in the event condition could not be evaluated. f302 f delete xxx? do you want xxx to be deleted? f303 f xxx is edited. delete yyy? xxx is being edited; do you want yyy to be deleted? f304 f xxx is edited. save yyy? xxx is being edited; do you want yyy to be saved? f305 f xxx is already exist. do you replace it? do you want to replace the existing xxx? f306 f this name is too long. this name is too long. f307 f there is the same name in other kinds. the same name is being used in other conditions. f308 f an address cant be omitted. an address cannot be omitted. f309 f illegal address mask. the address mask is illegal. f30a f illegal data mask. the data mask is illegal. f30b f illegal ext probe mask. the external probe mask is illegal. f30c f illegal ext probe data. the external probe data is illegal. f30d f illegal pass count. the pass count is illegal. f30e f illegal register name. the register name is illegal. f30f f illegal register bank. the register bank is illegal. f310 f illegal delay count. the delay count is illegal. f311 f only one xxx can be enabled. do you make this yyy to enable? only one xxx can be enabled; do you want to enable yyy? f312 f xxx is already there. xxx already exists. f313 f event number already exist. this event number already exists. f314 f event name is not set. the event name has not been set.
appendix c error message list users manual u14891ej1v0um00 323 table c-2. error message list (20/22) error no. type error message/meaning f315 f xxx is already there. xxx already exists. f316 f max number of xxx enabled event is over. please disable other enabled event. the maximum allowable number of valid event conditions has been exceeded. disable other event conditions. f317 f max number of set event is over. the maximum number of settable event conditions has been exceeded. f318 f max number of set event link is over. the maximum number of settable event link conditions has been exceeded. f319 f max number of set break event is over. the maximum number of settable break conditions has been exceeded. f31a f max number of set trace event is over. the maximum number of settable trace conditions has been exceeded. f31b f max number of set snap event is over. the maximum number of settable snap conditions has been exceeded. f31c f max number of set stub event is over. the maximum number of settable stub conditions has been exceeded. f31d f max number of set timer event is over. the maximum number of settable timer conditions has been exceeded. f31e f illegal start address. the start address is illegal. f31f f illegal end address. the end address is illegal. f320 f illegal bit address. the bit address is illegal. f321 f specified read-protect i/o register. a read-protected i/o register has been specified. f350 f there is a phase which event are not in the middle. an event condition setting is missing from the middle of a phase. f351 f the same event is contained in link and disable. the same event condition is already being used. f352 f an event isnt specified. an event condition has not been set. f353 f incompatible event is specified in phase 1. an incompatible event condition has been set in phase 1. f354 f and event is in phase 1. cant specify event with exception of phase 1. an and condition event has already been set in phase 1. event conditions cannot be set anywhere except in phase 1. f355 f reg/mem event in disable. the reg/mem status event has been set to disable. f356 f and event is in disable. the and condition event has been set to disable. f400 f coverage mapping error. coverage mapping could not be performed.
appendix c error message list users manual u14891ej1v0um00 324 table c-2. error message list (21/22) error no. type error message/meaning f401 f clear coverage? do you want to clear the coverage? f500 f illegal symbol. the symbol is illegal. f501 f illegal value. the value is illegal. f502 f illegal parameter. the parameter is illegal. f600 f save project file? do you want to save the project file? f601 w when connecting the target system, please turn on the target system. when connecting the target system, be sure to turn its power supply on. f700 f download failed. data could not be downloaded. f800 f configuration of memory bank is not set. the memory bank setting has not been made. f801 f bank address must be in target memory. the address of the memory bank must be inside the target memory. f802 f all events are deleted because the use of external probe was changed. all event conditions have been deleted because the external probe has changed. f803 f this event address is invalid on current configuration. the address of this event condition is illegal. f804 f invalid pc value. the pc value is illegal. f805 f cannot set temporary break on this address. a temporary break cannot be set to this address. f806 f external data is being used by debugger. external data is being used by the debugger. f900 f missing parameter. the name is illegal. f901 f memory mapping error. there is a fault with the memory mapping. f902 f illegal access size. the access size is illegal. f903 f illegal access type. the access type is illegal. f904 f there is the same name. the same name cannot be registered. f905 w xxx is already exist. do you replace it? do you want to replace the existing xxx? f906 w would you like to register the change made in xxx? do you want to register the changes made to xxx? fa00 f the main( ) function of current program on pc position not found. the function main( ) of the pc position program could not be found.
appendix c error message list users manual u14891ej1v0um00 325 table c-2. error message list (22/22) error no. type error message/meaning fa01 f the line information on pc position not found. the line information of the pc position could not be found.
users manual u14891ej1v0um00 326 [memo]
users manual u14891ej1v0um00 327 appendix d key function list efficient debugging can be realized by performing operations using the special function keys. note that because the key explanations differ depending on the type of keyboard in ibm pc/at and compatible machines, the key inscriptions employed here are general or generic key inscriptions. d.1 special function key function list a list of the special function key functions of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-1. special function key function list (1/2) key type pc-9821 series ibm pc/at compatibles function bs . backspace . deletes a character preceding the cursor and moves the cursor to the position of the deleted character. at this time, the string of characters following the cursor moves front one space. del . delete . deletes a character at the cursor position and moves the following characters front one space. deletes the event conditions selected in the event manager and each event dialog box. deletes the data selected in the watch window. ins . insert . switches the modes between insert mode and overwrite mode in the source and assemble windows. however, this key is disabled in the memory, register, and ior windows, where the input mode is overwrite mode only. copy . printscreen . places the entire screen display on the clipboard as a bitmap image (windows function). esc . esc . closes a pull-down menu. closes a modal dialog box. restores input data. grph . alt . moves the cursor on the menu bar. help . end . moves the cursor to the end of the line. home clr . home . moves the cursor to the start of the line. roll down . pageup . scrolls the screen up one screen. simultaneously moves the cursor to the top of the screen. roll up . pagedown . scrolls the screen down one screen. simultaneously moves the cursor to the top of the screen. space . space . inserts a 1-character space. tab . tab . moves the cursor to the next item. - . - . moves the cursor up. when the cursor is at the top of the screen, the screen is scrolled down one line at a time.
appendix d key f unction list users manual u14891ej1v0um00 328 table d-1. special function key function list (2/2) key type pc-9821 series ibm pc/at compatibles function . . moves the cursor down. when the cursor is at the bottom of the screen, the screen is scrolled up one line at a time. ? . ? . moves the cursor to the left. when the cursor is on the far left of the screen, the screen is scrolled to the right one item at a time. ? . ? . moves the cursor to the right. when the cursor is on the far right of the screen, the screen is scrolled to the left one item at a time. ? . ? . sets the input data. presses the default push button. d.2 function key function list a list of the function key functions of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-2. function key function list (1/2) key type pc-9821 series ibm pc/at compatibles function f1 . f1 . opens the help window. f2 . f2 . forcibly stops program execution. the same function as [run] ? [s top] on the menu bar. f3 . f3 . resets the emulation cpu. the same function as [run] ? [cpu reset] on the menu bar. f4 . f4 . executes the program after resetting the emulation cpu. the same function as [run] ? [r estart] on the menu bar. f5 . f5 . executes the program. the same function as [run] ? [g o & go] on the menu bar. f6 . f6 . executes the program as far as the cursor position in the source or assemble window. the same function as [run] ? [com e here] on the menu bar. f7 . f7 . executes the program in real-time until execution returns to the calling origin. the same function as [run] ? [re turn out] on the menu bar. f8 . f8 . performs step execution. the same function as [run] ? [st ep in] on the menu bar. f9 . f9 . sets/cancels a breakpoint at the cursor position in the source or assemble window. the same function as [run] ? [b reak point] on the menu bar.
appendix d key f unction list users manual u14891ej1v0um00 329 table d-2. function key function list (2/2) key type pc-9821 series ibm pc/at compatibles function f10 . f10 . performs next step execution. the same function as [run] ? [nex t over] on the menu bar. vf1 . f11 . sets/cancels a software breakpoint. the same function as [run] ? [sof tware break point] on the menu bar. vf2 . f12 . enables/disables a breakpoint. the same function as [run] ? [ignore break p oint] on the menu bar. d.3 special function key function list ( shift + key) a list of the special function key functions ( shift + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-3. special function key function list ( shift + key) key type pc-9821 series ibm pc/at compatibles function help . end . extends the selected range to the end of the line. home clr . home . extends the selected range to the start of the line. ? . ? . extends the selected range one character to the left. ? . ? . extends the selected range one character to the right. d.4 function key function list ( shift + key) a list of the function key functions ( shift + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-4. function key function list ( shift + key) key type pc-9821 series ibm pc/at compatibles function f6 . f6 . executes the program from the cursor position in the source or assemble window. the same function as [run] ? [sta rt from here] on the menu bar.
appendix d key f unction list users manual u14891ej1v0um00 330 d.5 special function key function list ( ctrl + key) a list of the special function key functions ( ctrl + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-5. special function key function list ( ctrl + key) key type pc-9821 series ibm pc/at compatibles function help . end . displays the last line. simultaneously moves the cursor to the start of the last line. home clr . home . displays the first line. simultaneously moves the cursor to the start of the first line. ? . ? . moves the cursor one word to the left. when the cursor is on the far left of the screen, the screen is scrolled one item to the right. ? . ? . moves the cursor one word to the right. when the cursor is on the far right of the screen, the screen is scrolled one item to the left. d.6 function key function list ( ctrl + key) a list of the function key functions ( ctrl + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-6. function key function list ( ctrl + key) key type pc-9821 series ibm pc/at compatibles function f9 . f9 . sets the address of the cursor position in the source or assemble window in the pc. the same function as [run] ? [ch ange pc] on the menu bar. d.7 control key function list ( ctrl + key) a list of the control key functions ( ctrl + key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-7. control key function list ( ctrl + key) (1/2) key type pc-9821 series ibm pc/at compatibles function d . shows a disassemble display from the jump destination address of the data value selected in the current window. opens the assemble window. the same function as [jump] ? [a ssemble] on the menu bar. c . copies the selected character string and places it in the clipboard buffer. the same function as [edit] ? [c opy] on the menu bar.
appendix d key f unction list users manual u14891ej1v0um00 331 table d-7. control key function list ( ctrl + key) (2/2) key type pc-9821 series ibm pc/at compatibles function g . performs a search. opens the search dialog box appropriate to the current window. the same function as [view] ? [s earch] on the menu bar. j . moves the display position. opens the source move, address move, and trace move dialog box appropriate to the current window. the same function as [view] ? [m ove] on the menu bar. m . displays the memory contents from the jump destination address of the data value selected in the current window. opens the memory window. the same function as [jump] ? [me mory] on the menu bar. o . loads a display, source, or text file. opens the view file load dialog box. operations differ depending on the file extension. for display files: displayed in corresponding window. for other files: displayed in source window. the same function as [file] ? [o pen] on the menu bar. u . displays the corresponding source text and source line from the jump destination address of the data value selected in the current window. opens the source window. the same function as [jump] ? [s ource] on the menu bar. v . pastes the contents of the clipboard buffer at the cursor position. the same function as [edit] ? [p aste] on the menu bar. w . temporarily displays the contents of the specified data. opens the quick watch dialog box. the same function as [view] ? [q uick watch] on the menu bar. x . removes the selected character string and places it on the clipboard buffer. the same function as [edit] ? [cut ] on the menu bar. d.8 special function key function list ( ctrl + shift key) a list of the special function key functions ( ctrl + shift key) of the pc-9821 series and ibm pc/at and compatibles is shown in the table below. table d-8. special function key function list ( ctrl + shift key) key type pc-9821 series ibm pc/at compatibles function ? . ? . extends the selected range one word to the left. ? . ? . extends the selected range one word to the right.
users manual u14891ej1v0um00 332 [memo]
users manual u14891ej1v0um00 333 appendix e index a about dialog box.................................................... 285 access size conditions........................................... 249 active state .............................................141, 158, 170 add i/o port dialog box.......................................... 213 add watch dialog box............................................ 198 address move dialog box ...................................... 132 all trace mode.......................................................... 43 ascii display ......................................................... 172 assemble search dialog box ................................. 166 assemble window .................................................. 157 auto load ................................................................. 51 b balloon watch function....................................151, 164 break before execution.......................................... 249 break dialog box.................................................... 266 break function.......................................................... 41 breakpoint setting/deleting function ........143, 149, 162 browse dialog box ................................................. 127 c cautions on re-downloading .................................... 51 changing mnemonic.......................................147, 161 comctl32.dll.............................................................. 32 come function ....................................36, 41, 149, 162 compulsion read ................................................... 207 configuration dialog box .................................... 31, 81 correction of source file........................................... 51 current pc......................................................144, 159 current program .................................................... 294 d debugger option dialog box .................................... 90 delay count.............................................................. 44 delay count setting dialog box ............................. 281 delay trace .......................................................44, 274 detailed display mode ........................................... 237 device driver............................................................ 21 device file ................................................................ 19 display file ................................................46, 109, 112 display font.............................................................. 91 dmm dialog box..................................................... 185 dmm function ........................................................ 187 download dialog box ............................................. 118 drag-and-drop function .......................................... 164 e emulation bus size ................................................... 83 error message list .................................................. 304 error/warning dialog box........................................ 288 event before execution........................... 247, 268, 269 event dialog box..................................................... 245 event function .......................................................... 38 event icon .............................................................. 237 event link.......................................................... 40, 256 event link dialog box ..................................... 245, 256 event manager....................................................... 235 exit debugger dialog box ................................. 33, 286 extended option dialog box ..................................... 86 f font dialog box....................................................... 100 format of symbol specification............................... 138 h host machine ........................................................... 19 i ie ............................................................................. 19 ie-70000-mc-nw-a ................................................. 18 in-circuit emulator............................................... 18, 19 information file.......................................................... 46 initialize .................................................................. 177 interface board ......................................................... 19 internal ram ...................................................... 35, 82 internal rom...................................................... 35, 82 interrupt mask dialog box ......................................... 98 i/o protect .......................................................... 35, 84 ior select dialog box............................................. 209 ior window............................................................ 206 j jump function......................... 150, 172, 220, 226, 238 l load module .......................................................... 118 load module list dialog box................................... 122 load/save function ................................................... 46 local variable window............................................ 216
appendix e index users manual u14891ej1v0um00 334 m main window ...................................................... 32, 56 mapping function................................................ 35, 84 mask ........................................................................ 83 memory compare dialog box ................................. 181 memory compare result dialog box...................... 183 memory copy dialog box ....................................... 179 memory fill dialog box ........................................... 177 memory search dialog box .................................... 174 memory window ..................................................... 169 menu bar.................................................................. 63 mixed display ................................................. 142, 145 mixed display mode ............................... 141, 147, 235 modal dialog boxes ................................................ 302 modeless dialog boxes .......................................... 302 p pass count ............................................................. 259 pm ........................................................................... 49 program code ........................................................ 144 program counter setting function ................... 149, 162 program execution function ..................................... 36 programmable ior .......................................... 83, 207 project file .......................................... 33, 93, 104, 286 project file load dialog box................................... 103 project file save dialog box .................................. 106 project manager....................................................... 49 q quick watch dialog box ......................................... 193 quick watch function...................................... 151, 164 r real-time ram sampling function...................... 47, 87 real-time trace mode............................................. 232 register select dialog box ..................................... 204 register window..................................................... 201 reset debugger dialog box ................................... 283 rom emulation ram ......................................... 35, 84 rom probe ........................................................ 19, 35 s section trace ............................................ 44, 274, 277 software break................................................. 41, 242 software break manager........................................ 242 source debug..................................................... 17, 20 source move dialog box .........................................129 source path ..............................................................91 source search dialog box ......................................154 source window .......................................................140 stack window .........................................................218 start function ............................................36, 149, 162 startup symbol .........................................................95 static state..............................................142, 158, 170 status condition................................................39, 249 symbol to address dialog box...............................137 t target .................................................................35, 84 teu .... 39, 40, 247, 258, 260, 261, 268, 269, 275, 294 tip............................................................................17 toolbar ...............................................................57, 93 trace data ................................................................43 trace data select dialog box .................................228 trace dialog box .....................................................273 trace function...........................................................43 trace memory ..........................................................87 trace mode ..............................................................43 trace move dialog box ...........................................134 trace option dialog box ...................................43, 231 trace view window.................................................222 tracer control mode .................................................44 trcu .........................................36, 43, 273, 281, 294 types of files that can be downloaded ...................120 types of files that can be uploaded ........................125 u upload dialog box...................................................124 v verification check .....................................................89 view file extension..................................................110 view file load dialog box.......................................109 view file save dialog box ......................................112 w warning ..........................................................288, 303 watch function................................................150, 163 watch window ........................................................188 window link function.......................146, 160, 172, 227 window list ...............................................................53
although nec has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that errors may occur. despite all the care and precautions we've taken, you may encounter problems in the documentation. please complete this form whenever you'd like to report errors or suggest improvements to us. hong kong, philippines, oceania nec electronics hong kong ltd. fax: +852-2886-9022/9044 korea nec electronics hong kong ltd. seoul branch fax: 02-528-4411 taiwan nec electronics taiwan ltd. fax: 02-2719-5951 address north america nec electronics inc. corporate communications dept. fax: 1-800-729-9288 1-408-588-6130 europe nec electronics (europe) gmbh technical documentation dept. fax: +49-211-6503-274 south america nec do brasil s.a. fax: +55-11-6462-6829 asian nations except philippines nec electronics singapore pte. ltd. fax: +65-250-3583 japan nec semiconductor technical hotline fax: 044-435-9608 i would like to report the following error/make the following suggestion: document title: document number: page number: thank you for your kind support. if possible, please fax the referenced page or drawing. excellent good acceptable poor document rating clarity technical accuracy organization cs 00.6 name company from: tel. fax facsimile message


▲Up To Search▲   

 
Price & Availability of USAB17ID703000-NW

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X